[PATCH 0/8] rtc: use DEVICE_ATTR_* macro to simplify code
From: Zhen Lei
Date: Wed Jun 02 2021 - 03:39:22 EST
DEVICE_ATTR_RO marks ReadOnly file, DEVICE_ATTR_RW marks ReadWrite file,
it's clearer than DEVICE_ATTR.
Zhen Lei (8):
rtc: x1205: use DEVICE_ATTR_RO macro
rtc: rx8025: use DEVICE_ATTR_RW macro
rtc: rs5c372: use DEVICE_ATTR_RO macro
rtc: isl1208: use DEVICE_ATTR_* macro
rtc: ds1685: use DEVICE_ATTR_RO macro
rtc: ds1343: use DEVICE_ATTR_* macro
rtc: bq32k: use DEVICE_ATTR_RW macro
rtc: ab8500: use DEVICE_ATTR_RW macro
drivers/rtc/rtc-ab8500.c | 14 ++++++--------
drivers/rtc/rtc-bq32k.c | 16 +++++++---------
drivers/rtc/rtc-ds1343.c | 19 +++++++++----------
drivers/rtc/rtc-ds1685.c | 27 ++++++++++++---------------
drivers/rtc/rtc-isl1208.c | 29 ++++++++++++-----------------
drivers/rtc/rtc-rs5c372.c | 12 ++++++------
drivers/rtc/rtc-rx8025.c | 16 +++++++---------
drivers/rtc/rtc-x1205.c | 12 ++++++------
8 files changed, 65 insertions(+), 80 deletions(-)
--
2.26.0.106.g9fadedd