From: wens@csie.org (Chen-Yu Tsai)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] mfd: axp20x: driver cleanup
Date: Thu, 29 Mar 2018 12:31:12 +0800 [thread overview]
Message-ID: <20180329043115.7132-1-wens@csie.org> (raw)
Hi Lee,
Here are some cleanup patches for the axp20x mfd driver.
Patch 1 const-ifies all the struct mfd_cell and struct resource
instances found throughout the driver. Not sure why they weren't
set to const before.
Patch 2 replaces all the openly declared interrupt resources with
nice to read one-line DEFINE_RES_IRQ macros.
Patch 3 corrects the prefix for four of the AXP806 interrupt enums.
"POK" was incorrectly expanded to "PWROK".
These are all simple cleanups. No functionality is changed.
Regards
ChenYu
Chen-Yu Tsai (3):
mfd: axp20x: Const-ify struct mfd_cell and struct resource
mfd: axp20x: Use DEFINE_RES_IRQ to declare resources for mfd_cells
mfd: axp20x: Correct AXP806 POK interrupt prefix
drivers/mfd/axp20x.c | 239 +++++++++++----------------------------------
include/linux/mfd/axp20x.h | 10 +-
2 files changed, 61 insertions(+), 188 deletions(-)
--
2.16.3
next reply other threads:[~2018-03-29 4:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-29 4:31 Chen-Yu Tsai [this message]
2018-03-29 4:31 ` [PATCH 1/3] mfd: axp20x: Const-ify struct mfd_cell and struct resource Chen-Yu Tsai
2018-04-16 9:36 ` Lee Jones
2018-03-29 4:31 ` [PATCH 2/3] mfd: axp20x: Use DEFINE_RES_IRQ to declare resources for mfd_cells Chen-Yu Tsai
2018-04-16 9:36 ` Lee Jones
2018-03-29 4:31 ` [PATCH 3/3] mfd: axp20x: Correct AXP806 POK interrupt prefix Chen-Yu Tsai
2018-04-16 9:36 ` Lee Jones
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=20180329043115.7132-1-wens@csie.org \
--to=wens@csie.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).