Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Viresh Kumar
On 22-04-16, 08:41, Geert Uytterhoeven wrote: > I was mainly thinking about kernel size. Ahh, I see.. > If this is done once per boot, the array should be __initconst, > (looking at the code > in next) which is fine as cpufreq_dt_platdev_init() is already __init. Sure, makes sense.. I will do th

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Geert Uytterhoeven
Hi Viresh, On Fri, Apr 22, 2016 at 5:21 AM, Viresh Kumar wrote: > On 21-04-16, 15:04, Geert Uytterhoeven wrote: >> On Thu, Apr 21, 2016 at 10:43 AM, Viresh Kumar >> wrote: >> > --- a/drivers/cpufreq/cpufreq-dt-platdev.c >> > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c >> > @@ -29,6 +29,18 @@ sta

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Viresh Kumar
On 21-04-16, 15:04, Geert Uytterhoeven wrote: > Hi Viresh, > > On Thu, Apr 21, 2016 at 10:43 AM, Viresh Kumar > wrote: > > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > > @@ -29,6 +29,18 @@ static const struct of_device_id machines[] = { > >

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Geert Uytterhoeven
Hi Viresh, On Thu, Apr 21, 2016 at 10:43 AM, Viresh Kumar wrote: > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > @@ -29,6 +29,18 @@ static const struct of_device_id machines[] = { > { .compatible = "samsung,exynos5800", }, > #endif > I think a

[PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Viresh Kumar
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Viresh Kumar --- arch/arm/mach-shmobile/Makefile | 1 - arch/arm/mach-shmobile/common.h | 7