From: Rikard Falkeborn <rikard.falkeborn@gmail.com>
To: Sebastian Reichel <sre@kernel.org>,
Mike Looijmans <mike.looijmans@topic.nl>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Rikard Falkeborn <rikard.falkeborn@gmail.com>
Subject: [PATCH 0/2] power: supply: Constify static struct attribute_group
Date: Wed, 13 Jan 2021 21:32:41 +0100 [thread overview]
Message-ID: <20210113203243.20146-1-rikard.falkeborn@gmail.com> (raw)
Constify two static struct attribute_group. The only place they are
used is to put their address in an array of pointers to const struct
attribute_group. With these patches applied, all static attribute_group
structs in drivers/power are const.
Rikard Falkeborn (2):
power: supply: ltc4162-l: Constify static struct attribute_group
power: supply: core: Constify static struct attribute_group
drivers/power/supply/ltc4162-l-charger.c | 2 +-
drivers/power/supply/power_supply_sysfs.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.30.0
next reply other threads:[~2021-01-13 20:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 20:32 Rikard Falkeborn [this message]
2021-01-13 20:32 ` [PATCH 1/2] power: supply: ltc4162-l: " Rikard Falkeborn
2021-01-13 20:32 ` [PATCH 2/2] power: supply: core: " Rikard Falkeborn
2021-01-13 21:19 ` [PATCH 0/2] power: supply: " Sebastian Reichel
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=20210113203243.20146-1-rikard.falkeborn@gmail.com \
--to=rikard.falkeborn@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mike.looijmans@topic.nl \
--cc=sre@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®