Skip to content

mfd: use DEVICE_ATTR_* macro to simplify code

Zhen Lei 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 Latest9 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9mfd: wm831x: use DEVICE_ATTR_RO macrodrivers/mfd/wm831x-otp.c+3 -32 replies
2/9mfd: ucb1x00-assabet: use DEVICE_ATTR_RO macrodrivers/mfd/ucb1x00-assabet.c+1 -11 reply
3/9mfd: timberdale: use DEVICE_ATTR_RO macrodrivers/mfd/timberdale.c+3 -31 reply
4/9mfd: sm501: use DEVICE_ATTR_RO macrodrivers/mfd/sm501.c+4 -41 reply
5/9mfd: pcf50633: use DEVICE_ATTR_ADMIN_RO macrodrivers/mfd/pcf50633-core.c+6 -61 reply
6/9mfd: kempld-core: use DEVICE_ATTR_RO macrodrivers/mfd/kempld-core.c+9 -101 reply
7/9mfd: janz-cmodio: use DEVICE_ATTR_RO macrodrivers/mfd/janz-cmodio.c+3 -31 reply
8/9mfd: intel_soc_pmic_bxtwc: use DEVICE_ATTR_ADMIN_RW macrodrivers/mfd/intel_soc_pmic_bxtwc.c+10 -101 reply
9/9mfd: ab8500-core: use DEVICE_ATTR_RO/RW macrodrivers/mfd/ab8500-core.c+16 -171 reply

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchCharles Keepax
1/9A-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] mfd: use DEVICE_ATTR_* macro to simplify code

DEVICE_ATTR_RO marks ReadOnly file, DEVICE_ATTR_RW marks ReadWrite file, etc.. it's clearer than DEVICE_ATTR.

Zhen Lei (9):
mfd: wm831x: use DEVICE_ATTR_RO macro
mfd: ucb1x00-assabet: use DEVICE_ATTR_RO macro
mfd: timberdale: use DEVICE_ATTR_RO macro
mfd: sm501: use DEVICE_ATTR_RO macro
mfd: pcf50633: use DEVICE_ATTR_ADMIN_RO macro
mfd: kempld-core: use DEVICE_ATTR_RO macro
mfd: janz-cmodio: use DEVICE_ATTR_RO macro
mfd: intel_soc_pmic_bxtwc: use DEVICE_ATTR_ADMIN_RW macro
mfd: ab8500-core: use DEVICE_ATTR_RO/RW macro

 drivers/mfd/ab8500-core.c          | 33 +++++++++++++++---------------
 drivers/mfd/intel_soc_pmic_bxtwc.c | 20 +++++++++---------
 drivers/mfd/janz-cmodio.c          |  6 +++---
 drivers/mfd/kempld-core.c          | 19 ++++++++---------
 drivers/mfd/pcf50633-core.c        | 12 +++++------
 drivers/mfd/sm501.c                |  8 ++++----
 drivers/mfd/timberdale.c           |  6 +++---
 drivers/mfd/ucb1x00-assabet.c      |  2 +-
 drivers/mfd/wm831x-otp.c           |  6 +++---
 9 files changed, 55 insertions(+), 57 deletions(-)
Signature · 1 line
2.26.0.106.g9fadedd