ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
Subsystems (3)
PATCH 1/1 ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
All the Exynos4x12 based platforms use only device tree based boot. So remove the unused 'init_uarts' callback from exynos cpu_ids table.
--- arch/arm/mach-exynos/common.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/mach-exynos/common.c +0 -2
@@ -78,7 +78,6 @@ static struct cpu_table cpu_ids[] __initdata = { .idmask = EXYNOS4_CPU_MASK, .map_io = exynos4_map_io, .init_clocks = exynos4_init_clocks, - .init_uarts = exynos_init_uarts, .init = exynos_init, .name = name_exynos4212, }, {
@@ -86,7 +85,6 @@ static struct cpu_table cpu_ids[] __initdata = { .idmask = EXYNOS4_CPU_MASK, .map_io = exynos4_map_io, .init_clocks = exynos4_init_clocks, - .init_uarts = exynos_init_uarts, .init = exynos_init, .name = name_exynos4412, }, {
Signature · 1 line
1.6.6.rc2
PATCH 1/1 ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
Quoted 31 lines · Thomas Abraham
All the Exynos4x12 based platforms use only device tree based boot. So remove
the unused 'init_uarts' callback from exynoscpu_idstable.Signed-off-by Thomas Abraham <[email protected]>--- arch/arm/mach-exynos/common.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)arch/arm/mach-exynos/common.c +0
-3@@ -78,7 +78,6 @@ static struct cpu_table cpu_ids[] __initdata = { .idmask = EXYNOS4_CPU_MASK, .map_io = exynos4_map_io, .init_clocks = exynos4_init_clocks, - .init_uarts = exynos_init_uarts, .init = exynos_init, .name = name_exynos4212, }, {@@ -86,7 +85,6 @@ static struct cpu_table cpu_ids[] __initdata = { .idmask = EXYNOS4_CPU_MASK, .map_io = exynos4_map_io, .init_clocks = exynos4_init_clocks, - .init_uarts = exynos_init_uarts, .init = exynos_init, .name = name_exynos4412, }, { --
Quoted 1 line
1.6.6.rc2
Yes, correct. Applied.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
PATCH 1/1 ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
In reply to Thomas AbrahamQuoted 29 lines · Kukjin Kim
arch/arm/mach-
Quoted 11 lines · Thomas Abraham
All the Exynos4x12 based platforms use only device tree based boot. So remove
the unused 'init_uarts' callback from exynoscpu_idstable.Signed-off-by Thomas Abraham <[email protected]>--- arch/arm/mach-exynos/common.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)arch/arm/mach- renamed from arch/arm/mach-exynos/common.c +0
-0
exynos/common.cQuoted 15 lines
index 56844d1..ce91cba 100644
arch/arm/mach-exynos/common.c +0
-1@@ -78,7 +78,6 @@ static struct cpu_table cpu_ids[] __initdata = { .idmask = EXYNOS4_CPU_MASK, .map_io = exynos4_map_io, .init_clocks = exynos4_init_clocks, - .init_uarts = exynos_init_uarts, .init = exynos_init, .name = name_exynos4212, }, {@@ -86,7 +85,6 @@ static struct cpu_table cpu_ids[] __initdata = { .idmask = EXYNOS4_CPU_MASK, .map_io = exynos4_map_io, .init_clocks = exynos4_init_clocks,
Quoted 9 lines
Quoted 6 lines
arch/arm/mach-exynos/common.c +0
-2- .init_uarts = exynos_init_uarts, .init = exynos_init, .name = name_exynos4412, }, { --1.6.6.rc2
Yes, correct. Applied.
Well...
BTW, exynos4x12 can support non-DT yet so I just reverted this patch.
I think, this can be applied when we support only DT for exynos4 series next time.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.