commit | e8894f5578d62f7137a3c4139945e61148728471 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Wed Nov 29 10:05:02 2017 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Dec 13 01:06:59 2017 +0100 |
tree | b00a9af7499f4d37f21f55893eb4ed58b3138ed5 | |
parent | 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 [diff] |
ACPI / PMIC: constify platform_device_id 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@gmail.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>