diff options
author | 2016-02-02 09:37:15 +0100 | |
---|---|---|
committer | 2016-02-11 20:05:47 +0100 | |
commit | b0b6413f0dc8d1faba98745cf3a008ed9493df59 (patch) | |
tree | 083493bac66a3e56757252e19f9eb6d1a197aeb8 /drivers/clk/sunxi/clk-sun6i-apb0-gates.c | |
parent | clk: sunxi: Remove old probe and protection code (diff) | |
download | linux-dev-b0b6413f0dc8d1faba98745cf3a008ed9493df59.tar.xz linux-dev-b0b6413f0dc8d1faba98745cf3a008ed9493df59.zip |
clk: sunxi: Remove clk_register_clkdev calls
Now that our protection code doesn't use the global name lookup anymore, we
can remove the clkdev registrations.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi/clk-sun6i-apb0-gates.c')
-rw-r--r-- | drivers/clk/sunxi/clk-sun6i-apb0-gates.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c index 23d042aabb4f..68021fa5ecd9 100644 --- a/drivers/clk/sunxi/clk-sun6i-apb0-gates.c +++ b/drivers/clk/sunxi/clk-sun6i-apb0-gates.c @@ -9,7 +9,6 @@ */ #include <linux/clk-provider.h> -#include <linux/clkdev.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> @@ -87,7 +86,6 @@ static int sun6i_a31_apb0_gates_clk_probe(struct platform_device *pdev) clk_parent, 0, reg, i, 0, NULL); WARN_ON(IS_ERR(clk_data->clks[i])); - clk_register_clkdev(clk_data->clks[i], clk_name, NULL); j++; } |