Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: nomadik: Remove clk.h and clkdev.h includes

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. This driver also includes clkdev.h even though
it isn't used, so drop it too and add slab.h to make sure
everything still compiles.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

+1 -2
+1 -2
drivers/clk/clk-nomadik.c
··· 8 8 #define pr_fmt(fmt) "Nomadik SRC clocks: " fmt 9 9 10 10 #include <linux/bitops.h> 11 - #include <linux/clk.h> 12 - #include <linux/clkdev.h> 11 + #include <linux/slab.h> 13 12 #include <linux/err.h> 14 13 #include <linux/io.h> 15 14 #include <linux/clk-provider.h>