clk: mmp: Remove clk.h include
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 19 Jun 2015 22:00:46 +0000 (15:00 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 20 Jul 2015 17:53:12 +0000 (10:53 -0700)
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the include here because this is a
provider driver. The clkdev.h include isn't used either, so drop
it and add in slab.h to keep things compiling.

Cc: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mmp/clk-apbc.c
drivers/clk/mmp/clk-apmu.c
drivers/clk/mmp/clk.c

index 09d41c717c52830efd22849100deb01e9f9252fb..4c717db05f2deb61a4519c7b112d3c75199371fe 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/delay.h>
index cdcf2d7f321e0d5becfaa90b199d9839bcc9d81a..47b5542ce50f3ec8c356eeb4bdbf9c580f207bfd 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/delay.h>
index cf038ef54c5961f9764f1540eca0f717c14a172a..61893fe73251b41048ed1aebee177ca605c91cdc 100644 (file)
@@ -1,7 +1,6 @@
 #include <linux/io.h>
-#include <linux/clk.h>
 #include <linux/clk-provider.h>
-#include <linux/clkdev.h>
+#include <linux/slab.h>
 #include <linux/of.h>
 #include <linux/of_address.h>