From: Arvind Yadav <arvind.yadav.cs@gmail.com>
To: rjw@rjwysocki.net, lenb@kernel.org, andy@infradead.org,
mika.westerberg@linux.intel.com
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: [PATCH 0/2] ACPI / PMIC: constify platform_device_id
Date: Tue, 28 Nov 2017 15:31:49 +0530 [thread overview]
Message-ID: <cover.1511863076.git.arvind.yadav.cs@gmail.com> (raw)
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
next reply other threads:[~2017-11-28 10:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-28 10:01 Arvind Yadav [this message]
2017-11-28 10:01 ` [PATCH 1/2] ACPI / PMIC: constify platform_device_id 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1511863076.git.arvind.yadav.cs@gmail.com \
--to=arvind.yadav.cs@gmail.com \
--cc=andy@infradead.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.