mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +00:00
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: Magnus Damm <damm@opensource.se> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
34b6a241de
commit
6197c08ab8
@ -88,7 +88,6 @@ static void __init lager_add_du_device(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
|
||||
* devices until they get moved to DT.
|
||||
@ -126,9 +125,6 @@ static void __init lager_add_standard_devices(void)
|
||||
clk_put(clk);
|
||||
}
|
||||
}
|
||||
#else
|
||||
r8a7790_clock_init();
|
||||
#endif
|
||||
|
||||
r8a7790_add_dt_devices();
|
||||
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user