提交 6197c08a 编写于 作者: M Magnus Damm 提交者: Simon Horman

ARM: shmobile: Remove Lager DT reference legacy clock bits

Lager DT reference is these days built for multiplatform
only which means that CCF comes with the package. Remove
unused legacy code ifdefs to clean up the code.
Signed-off-by: NMagnus Damm <damm@opensource.se>
Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 34b6a241
...@@ -88,7 +88,6 @@ static void __init lager_add_du_device(void) ...@@ -88,7 +88,6 @@ static void __init lager_add_du_device(void)
static void __init lager_add_standard_devices(void) static void __init lager_add_standard_devices(void)
{ {
#ifdef CONFIG_COMMON_CLK
/* /*
* This is a really crude hack to provide clkdev support to platform * This is a really crude hack to provide clkdev support to platform
* devices until they get moved to DT. * devices until they get moved to DT.
...@@ -126,9 +125,6 @@ static void __init lager_add_standard_devices(void) ...@@ -126,9 +125,6 @@ static void __init lager_add_standard_devices(void)
clk_put(clk); clk_put(clk);
} }
} }
#else
r8a7790_clock_init();
#endif
r8a7790_add_dt_devices(); r8a7790_add_dt_devices();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册