aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/samsung/clk-s3c2443.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-19 15:00:46 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 11:11:11 -0700
commit6f1ed07a14a1ace5facba1e2b3995a2ef3b610cc (patch)
tree07b629340bc1229061513bba15ef4d00f34532ad /drivers/clk/samsung/clk-s3c2443.c
parentclk: rockchip: Properly include clk.h (diff)
downloadlinux-dev-6f1ed07a14a1ace5facba1e2b3995a2ef3b610cc.tar.xz
linux-dev-6f1ed07a14a1ace5facba1e2b3995a2ef3b610cc.zip
clk: samsung: Properly include clk.h and clkdev.h
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include clk.h in files that are using it. The clkdev.h header isn't always used either, so remove it and add in slab.h where files were relying on it to include slab for them. Cc: Chanwoo Choi <cw00.choi@samsung.com> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com> Cc: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/samsung/clk-s3c2443.c')
-rw-r--r--drivers/clk/samsung/clk-s3c2443.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/samsung/clk-s3c2443.c b/drivers/clk/samsung/clk-s3c2443.c
index 0c3c182b902a..2c0a1ea3c80c 100644
--- a/drivers/clk/samsung/clk-s3c2443.c
+++ b/drivers/clk/samsung/clk-s3c2443.c
@@ -8,8 +8,6 @@
* Common Clock Framework support for S3C2443 and following SoCs.
*/
-#include <linux/clk.h>
-#include <linux/clkdev.h>
#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/of_address.h>