All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
@ 2012-11-05 14:32 ` Thomas Abraham
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Abraham @ 2012-11-05 14:32 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: linux-arm-kernel, kgene.kim

All the Exynos4x12 based platforms use only device tree based boot. So remove
the unused 'init_uarts' callback from exynos cpu_ids table.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
---
 arch/arm/mach-exynos/common.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 56844d1..ce91cba 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -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,
 	}, {
-- 
1.6.6.rc2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
@ 2012-11-05 14:32 ` Thomas Abraham
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Abraham @ 2012-11-05 14:32 UTC (permalink / raw)
  To: linux-arm-kernel

All the Exynos4x12 based platforms use only device tree based boot. So remove
the unused 'init_uarts' callback from exynos cpu_ids table.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
---
 arch/arm/mach-exynos/common.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index 56844d1..ce91cba 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -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,
 	}, {
-- 
1.6.6.rc2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* RE: [PATCH] ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
  2012-11-05 14:32 ` Thomas Abraham
@ 2012-11-06 11:43   ` Kukjin Kim
  -1 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2012-11-06 11:43 UTC (permalink / raw)
  To: 'Thomas Abraham', linux-samsung-soc; +Cc: linux-arm-kernel

Thomas Abraham wrote:
> 
> All the Exynos4x12 based platforms use only device tree based boot. So
> remove
> the unused 'init_uarts' callback from exynos cpu_ids table.
> 
> Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
> ---
>  arch/arm/mach-exynos/common.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
> index 56844d1..ce91cba 100644
> --- a/arch/arm/mach-exynos/common.c
> +++ b/arch/arm/mach-exynos/common.c
> @@ -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,
>  	}, {
> --
> 1.6.6.rc2

Yes, correct. Applied.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
@ 2012-11-06 11:43   ` Kukjin Kim
  0 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2012-11-06 11:43 UTC (permalink / raw)
  To: linux-arm-kernel

Thomas Abraham wrote:
> 
> All the Exynos4x12 based platforms use only device tree based boot. So
> remove
> the unused 'init_uarts' callback from exynos cpu_ids table.
> 
> Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
> ---
>  arch/arm/mach-exynos/common.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
> index 56844d1..ce91cba 100644
> --- a/arch/arm/mach-exynos/common.c
> +++ b/arch/arm/mach-exynos/common.c
> @@ -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,
>  	}, {
> --
> 1.6.6.rc2

Yes, correct. Applied.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH] ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
  2012-11-05 14:32 ` Thomas Abraham
@ 2012-11-06 11:52   ` Kukjin Kim
  -1 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2012-11-06 11:52 UTC (permalink / raw)
  To: 'Kukjin Kim', 'Thomas Abraham', linux-samsung-soc
  Cc: linux-arm-kernel

Kukjin Kim wrote:
> 
> Thomas Abraham wrote:
> >
> > All the Exynos4x12 based platforms use only device tree based boot. So
> > remove
> > the unused 'init_uarts' callback from exynos cpu_ids table.
> >
> > Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
> > ---
> >  arch/arm/mach-exynos/common.c |    2 --
> >  1 files changed, 0 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-
> exynos/common.c
> > index 56844d1..ce91cba 100644
> > --- a/arch/arm/mach-exynos/common.c
> > +++ b/arch/arm/mach-exynos/common.c
> > @@ -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,
> >  	}, {
> > --
> > 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 <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms
@ 2012-11-06 11:52   ` Kukjin Kim
  0 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2012-11-06 11:52 UTC (permalink / raw)
  To: linux-arm-kernel

Kukjin Kim wrote:
> 
> Thomas Abraham wrote:
> >
> > All the Exynos4x12 based platforms use only device tree based boot. So
> > remove
> > the unused 'init_uarts' callback from exynos cpu_ids table.
> >
> > Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
> > ---
> >  arch/arm/mach-exynos/common.c |    2 --
> >  1 files changed, 0 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-
> exynos/common.c
> > index 56844d1..ce91cba 100644
> > --- a/arch/arm/mach-exynos/common.c
> > +++ b/arch/arm/mach-exynos/common.c
> > @@ -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,
> >  	}, {
> > --
> > 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 <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-06 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-05 14:32 [PATCH] ARM: Exynos: remove unused init_uarts callback for exynos4x12 platforms Thomas Abraham
2012-11-05 14:32 ` Thomas Abraham
2012-11-06 11:43 ` Kukjin Kim
2012-11-06 11:43   ` Kukjin Kim
2012-11-06 11:52 ` Kukjin Kim
2012-11-06 11:52   ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.