public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ACPI / PMIC: constify platform_device_id
@ 2017-11-28 10:01 Arvind Yadav
  2017-11-28 10:01 ` [PATCH 1/2] " Arvind Yadav
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Arvind Yadav @ 2017-11-28 10:01 UTC (permalink / raw)
  To: rjw, lenb, andy, mika.westerberg; +Cc: linux-kernel, linux-acpi

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.

Arvind Yadav (2):
  [PATCH 1/2] ACPI / PMIC: constify platform_device_id
  [PATCH 2/2] ACPI / PMIC: Constify platform_device_id

 drivers/acpi/pmic/intel_pmic_bxtwc.c | 2 +-
 drivers/acpi/pmic/intel_pmic_chtwc.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-29  4:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-28 10:01 [PATCH 0/2] ACPI / PMIC: constify platform_device_id Arvind Yadav
2017-11-28 10:01 ` [PATCH 1/2] " Arvind Yadav
2017-11-28 10:20   ` Mika Westerberg
2017-11-28 10:01 ` [PATCH 2/2] ACPI / PMIC: Constify platform_device_id Arvind Yadav
2017-11-28 10:22   ` Mika Westerberg
2017-11-28 20:58 ` [PATCH 0/2] ACPI / PMIC: constify platform_device_id Rafael J. Wysocki
2017-11-29  4:32   ` Arvind Yadav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox