[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210602073820.11011-1-thunder.leizhen@huawei.com>
Date: Wed, 2 Jun 2021 15:38:12 +0800
From: Zhen Lei <thunder.leizhen@...wei.com>
To: Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Joshua Kinard <kumba@...too.org>,
"Linus Walleij" <linus.walleij@...aro.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-rtc <linux-rtc@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
CC: Zhen Lei <thunder.leizhen@...wei.com>
Subject: [PATCH 0/8] rtc: use DEVICE_ATTR_* macro to simplify code
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
Powered by blists - more mailing lists