mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
ARM: shmobile: genmai-reference: Remove legacy clock support
genmai-reference is now only built for multiplatform which means that CCF comes with the package. Remove unused legacy code ifdefs to clean up the code. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
551f80a5c9
commit
88351216f5
1 changed files with 0 additions and 6 deletions
|
@ -26,7 +26,6 @@
|
|||
#include <asm/mach-types.h>
|
||||
#include <asm/mach/arch.h>
|
||||
|
||||
#ifdef CONFIG_COMMON_CLK
|
||||
/*
|
||||
* This is a really crude hack to provide clkdev support to platform
|
||||
* devices until they get moved to DT.
|
||||
|
@ -34,15 +33,10 @@
|
|||
static const struct clk_name clk_names[] = {
|
||||
{ "mtu2", "fck", "sh-mtu2" },
|
||||
};
|
||||
#endif
|
||||
|
||||
static void __init genmai_add_standard_devices(void)
|
||||
{
|
||||
#ifdef CONFIG_COMMON_CLK
|
||||
shmobile_clk_workaround(clk_names, ARRAY_SIZE(clk_names), true);
|
||||
#else
|
||||
r7s72100_clock_init();
|
||||
#endif
|
||||
r7s72100_add_dt_devices();
|
||||
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue