@@ -12,7 +12,6 @@
*/
#include <linux/clk-provider.h>
-#include <linux/clkdev.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/io.h>
@@ -673,10 +672,6 @@ static void mpc512x_clk_setup_clock_tree(int busfreq)
/* fixed frequency for AC97, always 24.567MHz */
clks[MPC512x_CLK_AC97] = mpc512x_clk_fixed("ac97", 24567000);
- /* clkdev registration for compatibility reasons */
- clk_register_clkdev(clks[MPC512x_CLK_REF], "ref_clk", NULL);
- clk_register_clkdev(clks[MPC512x_CLK_SYS], "sys_clk", NULL);
-
pr_debug("clock tree setup complete\n");
freq = clk_get_rate(clks[MPC512x_CLK_E300]);
pr_debug("derived PPC freq [%d]\n", freq);
remove the last clkdev registration call ("sys_clk" and "ref_clk" for mscan), as well as the clkdev header inclusion and the "compat registration" comment all client lookups for clock items are device tree based now, no compatibility alias names need to get provided any longer Signed-off-by: Gerhard Sittig <gsi@denx.de> --- arch/powerpc/platforms/512x/clock-commonclk.c | 5 ----- 1 file changed, 5 deletions(-)