clk: ux500: Remove clk.h and clkdev.h includes
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 18:11:18 +0000 (11:11 -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. Also remove clkdev.h in files that aren't using
it.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/ux500/abx500-clk.c
drivers/clk/ux500/clk.h
drivers/clk/ux500/u8500_clk.c
drivers/clk/ux500/u8500_of_clk.c
drivers/clk/ux500/u8540_clk.c
drivers/clk/ux500/u9540_clk.c

index 3e5e05101302e569d5bda1a68451abc56b6bb4d0..222425d08ab6ac3faf05b6385d51c2df1b33713f 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/platform_device.h>
 #include <linux/mfd/abx500/ab8500.h>
 #include <linux/mfd/abx500/ab8500-sysctrl.h>
-#include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/mfd/dbx500-prcmu.h>
index a2bb92d85ee0a980ad458745f93c2ca00acf4266..b42485da704eaa495ab56d976668e063dd9f8dde 100644 (file)
 #ifndef __UX500_CLK_H
 #define __UX500_CLK_H
 
-#include <linux/clk.h>
 #include <linux/device.h>
 #include <linux/types.h>
 
+struct clk;
+
 struct clk *clk_reg_prcc_pclk(const char *name,
                              const char *parent_name,
                              resource_size_t phy_base,
index 4626b97b7d83295b06d0259a5f55574572dc6a09..1c7b639d9222bb3ab2370cfef1b2b3058e13edbd 100644 (file)
@@ -7,7 +7,6 @@
  * License terms: GNU General Public License (GPL) version 2
  */
 
-#include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/mfd/dbx500-prcmu.h>
index e319ef912dc6c27bbaba940a42a4ef97a5bf07a0..c3e3b20e4b43d0ea36d4b69b97652cad2e61b172 100644 (file)
@@ -8,8 +8,6 @@
  */
 
 #include <linux/of.h>
-#include <linux/clk.h>
-#include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/mfd/dbx500-prcmu.h>
 #include <linux/platform_data/clk-ux500.h>
index 20c8add90d110db1575e0ccb5695499581853af5..d0de335ea1e9e31ec3846ff394ceb95828a1b06a 100644 (file)
@@ -7,7 +7,6 @@
  * License terms: GNU General Public License (GPL) version 2
  */
 
-#include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/mfd/dbx500-prcmu.h>
index 44794782e7e01681414ad123809bf1b8ce35be0b..179bd3871b348fc84044cad777c2f2dcc9d55c6c 100644 (file)
@@ -7,8 +7,6 @@
  * License terms: GNU General Public License (GPL) version 2
  */
 
-#include <linux/clk.h>
-#include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/mfd/dbx500-prcmu.h>
 #include <linux/platform_data/clk-ux500.h>