Re: [PATCH] CPUFREQ: Loongson2: constify platform_device_id

2017-08-22 Thread Rafael J. Wysocki
On Wednesday, August 16, 2017 5:25:59 AM CEST Viresh Kumar wrote: > On 13-08-17, 15:10, Arvind Yadav wrote: > > platform_device_id are not supposed to change at runtime. All functions > > working with platform_device_id provided by > > work with const platform_device_id. So mark the non-const stru

Re: [PATCH] CPUFREQ: Loongson2: constify platform_device_id

2017-08-15 Thread Viresh Kumar
On 13-08-17, 15:10, Arvind Yadav wrote: > platform_device_id are not supposed to change at runtime. All functions > working with platform_device_id provided by > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav > --- > drivers/cpufreq

[PATCH] CPUFREQ: Loongson2: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/cpufreq/loongson2_cpufreq.c | 2 +- 1 file changed, 1 insertion