Re: [PATCH v2] ACPI / PMIC: constify platform_device_id

2017-12-15 Thread Rafael J. Wysocki
On Wednesday, November 29, 2017 9:51:32 AM CET Mika Westerberg wrote: > On Wed, Nov 29, 2017 at 10:05:02AM +0530, 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.

Re: [PATCH v2] ACPI / PMIC: constify platform_device_id

2017-12-15 Thread Rafael J. Wysocki
On Wednesday, November 29, 2017 9:51:32 AM CET Mika Westerberg wrote: > On Wed, Nov 29, 2017 at 10:05:02AM +0530, 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.

Re: [PATCH v2] ACPI / PMIC: constify platform_device_id

2017-11-29 Thread Mika Westerberg
On Wed, Nov 29, 2017 at 10:05:02AM +0530, 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

Re: [PATCH v2] ACPI / PMIC: constify platform_device_id

2017-11-29 Thread Mika Westerberg
On Wed, Nov 29, 2017 at 10:05:02AM +0530, 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

[PATCH v2] ACPI / PMIC: constify platform_device_id

2017-11-28 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 --- changes in v2: Resend all

[PATCH v2] ACPI / PMIC: constify platform_device_id

2017-11-28 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 --- changes in v2: Resend all changes as single patch.