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

From: Rafael J. Wysocki
Date: Fri Dec 15 2017 - 20:55:56 EST


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 <linux/platform_device.h>
> > work with const platform_device_id. So mark the non-const structs as
> > const.
> >
> > Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
>
> Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

Patch applied, thanks!