Thread (19 messages) 19 messages, 2 authors, 2015-08-14

Re: [rtc-linux] [PATCH 00/11] rtc: clean up bin attribute read/write functions

From: Alexandre Belloni <hidden>
Date: 2015-08-14 22:21:38

On 27/07/2015 at 00:48:25 +0300, Vladimir Zapolskiy wrote :
This change removes a number of redundant checks on bin attribute
client's side, the same checks are done by sysfs_kf_bin_read() or
sysfs_kf_bin_write() caller from fs/sysfs/file.c.

Note, drivers/rtc/rtc-ds1685.c may be updated in a similar way,
however due to #ifndef magic involved this task is not done.

No functional change intended.

Vladimir Zapolskiy (11):
  rtc: cmos: clean up cmos_nvram_read()/cmos_nvram_write()
  rtc: ds1305: clean up ds1305_nvram_read()/ds1305_nvram_write()
  rtc: ds1307: clean up ds1307_nvram_read()/ds1307_nvram_write()
  rtc: ds1343: clean up ds1343_nvram_read()/ds1343_nvram_write()
  rtc: ds1511: clean up ds1511_nvram_read()/ds1511_nvram_write()
  rtc: ds1553: clean up ds1553_nvram_read()/ds1553_nvram_write()
  rtc: ds1742: clean up ds1742_nvram_read()/ds1742_nvram_write()
  rtc: m48t59: clean up m48t59_nvram_read()/m48t59_nvram_write()
  rtc: rp5c01: clean up rp5c01_nvram_read()/rp5c01_nvram_write()
  rtc: stk17ta8: clean up stk17ta8_nvram_read()/stk17ta8_nvram_write()
  rtc: tx4939: clean up tx4939_rtc_nvram_read()/tx4939_rtc_nvram_write()

 drivers/rtc/rtc-cmos.c     | 13 -------------
 drivers/rtc/rtc-ds1305.c   | 18 ------------------
 drivers/rtc/rtc-ds1307.c   | 14 --------------
 drivers/rtc/rtc-ds1343.c   | 12 ------------
 drivers/rtc/rtc-ds1511.c   | 38 ++++++++------------------------------
 drivers/rtc/rtc-ds1553.c   |  4 ++--
 drivers/rtc/rtc-ds1742.c   |  4 ++--
 drivers/rtc/rtc-m48t59.c   | 16 ++++++++--------
 drivers/rtc/rtc-rp5c01.c   |  4 ++--
 drivers/rtc/rtc-stk17ta8.c |  4 ++--
 drivers/rtc/rtc-tx4939.c   |  6 ++----
 11 files changed, 26 insertions(+), 107 deletions(-)
All applied (v2 when available), thanks


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help