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

From: Zhen Lei
Date: Wed Jun 02 2021 - 07:44:01 EST


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(-)

--
2.26.0.106.g9fadedd