6
6
* Copyright (C) 2012 Magnus Damm
7
7
*/
8
8
#include <linux/clk-provider.h>
9
- #include <linux/clkdev.h>
10
9
#include <linux/io.h>
11
10
#include <linux/of.h>
12
11
#include <linux/of_address.h>
@@ -74,7 +73,6 @@ static void __init emev2_smu_clkdiv_init(struct device_node *np)
74
73
clk = clk_register_divider (NULL , np -> name , parent_name , 0 ,
75
74
smu_base + reg [0 ], reg [1 ], 8 , 0 , & lock );
76
75
of_clk_add_provider (np , of_clk_src_simple_get , clk );
77
- clk_register_clkdev (clk , np -> full_name , NULL );
78
76
pr_debug ("## %s %pOFn %p\n" , __func__ , np , clk );
79
77
}
80
78
CLK_OF_DECLARE (emev2_smu_clkdiv , "renesas,emev2-smu-clkdiv" ,
@@ -92,7 +90,6 @@ static void __init emev2_smu_gclk_init(struct device_node *np)
92
90
clk = clk_register_gate (NULL , np -> name , parent_name , 0 ,
93
91
smu_base + reg [0 ], reg [1 ], 0 , & lock );
94
92
of_clk_add_provider (np , of_clk_src_simple_get , clk );
95
- clk_register_clkdev (clk , np -> full_name , NULL );
96
93
pr_debug ("## %s %pOFn %p\n" , __func__ , np , clk );
97
94
}
98
95
CLK_OF_DECLARE (emev2_smu_gclk , "renesas,emev2-smu-gclk" , emev2_smu_gclk_init );
0 commit comments