Skip to content

mfd: axp20x: driver cleanup

Chen-Yu Tsai linux-arm-kernel lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3mfd: axp20x: Const-ify struct mfd_cell and struct resourcedrivers/mfd/axp20x.c include/linux/mfd/axp20x.h+23 -231 reply
2/3mfd: axp20x: Use DEFINE_RES_IRQ to declare resources for mfd_cellsdrivers/mfd/axp20x.c+30 -1571 reply
3/3mfd: axp20x: Correct AXP806 POK interrupt prefixdrivers/mfd/axp20x.c include/linux/mfd/axp20x.h+8 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] mfd: axp20x: driver cleanup

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(-)
Signature · 1 line
2.16.3