[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171129085132.GL22431@lahna.fi.intel.com>
Date: Wed, 29 Nov 2017 10:51:32 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: rjw@...ysocki.net, lenb@...nel.org, andy@...radead.org,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org
Subject: Re: [PATCH v2] ACPI / PMIC: constify platform_device_id
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@...il.com>
Acked-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
Powered by blists - more mailing lists