summaryrefslogtreecommitdiff
path: root/drivers/clk/hisilicon/clk.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-20 01:00:46 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 20:53:06 +0300
commit593438e44c8e01d3098d69d30353be655c3b27f1 (patch)
tree7cc6f00e63429f3deca181d8b1705fd046cd3bb9 /drivers/clk/hisilicon/clk.c
parent6063b663e872faa005669d1379439dfba805a1ea (diff)
downloadlinux-593438e44c8e01d3098d69d30353be655c3b27f1.tar.xz
clk: hisilicon: Remove clk.h include
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 drop the clkdev.h include in files that aren't using it. Cc: Bintian Wang <bintian.wang@huawei.com> Cc: Zhangfei Gao <zhangfei.gao@linaro.org> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/hisilicon/clk.c')
-rw-r--r--drivers/clk/hisilicon/clk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/hisilicon/clk.c b/drivers/clk/hisilicon/clk.c
index c90a89739b03..155e2e6c8316 100644
--- a/drivers/clk/hisilicon/clk.c
+++ b/drivers/clk/hisilicon/clk.c
@@ -24,15 +24,14 @@
*/
#include <linux/kernel.h>
-#include <linux/clk-provider.h>
#include <linux/clkdev.h>
+#include <linux/clk-provider.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_device.h>
#include <linux/slab.h>
-#include <linux/clk.h>
#include "clk.h"