Re: [PATCH 0/2] ACPI / PMIC: constify platform_device_id

2017-11-28 Thread Arvind Yadav
Hi Rafael, On Wednesday 29 November 2017 02:28 AM, Rafael J. Wysocki wrote: On Tue, Nov 28, 2017 at 11:01 AM, 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

Re: [PATCH 0/2] ACPI / PMIC: constify platform_device_id

2017-11-28 Thread Arvind Yadav
Hi Rafael, On Wednesday 29 November 2017 02:28 AM, Rafael J. Wysocki wrote: On Tue, Nov 28, 2017 at 11:01 AM, 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

Re: [PATCH 0/2] ACPI / PMIC: constify platform_device_id

2017-11-28 Thread Rafael J. Wysocki
On Tue, Nov 28, 2017 at 11:01 AM, 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. > > Arvind

Re: [PATCH 0/2] ACPI / PMIC: constify platform_device_id

2017-11-28 Thread Rafael J. Wysocki
On Tue, Nov 28, 2017 at 11:01 AM, 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. > > Arvind Yadav (2): > [PATCH 1/2] ACPI

[PATCH 0/2] 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. Arvind Yadav (2): [PATCH 1/2] ACPI / PMIC: constify platform_device_id [PATCH 2/2] ACPI / PMIC:

[PATCH 0/2] 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. Arvind Yadav (2): [PATCH 1/2] ACPI / PMIC: constify platform_device_id [PATCH 2/2] ACPI / PMIC: