Linux RTC
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH 00/11] rtc: clean up bin attribute read/write functions
@ 2015-07-26 21:48 Vladimir Zapolskiy
  2015-07-26 21:48 ` [rtc-linux] [PATCH 01/11] rtc: cmos: clean up cmos_nvram_read()/cmos_nvram_write() Vladimir Zapolskiy
                   ` (11 more replies)
  0 siblings, 12 replies; 19+ messages in thread
From: Vladimir Zapolskiy @ 2015-07-26 21:48 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni; +Cc: rtc-linux, Greg Kroah-Hartman

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

-- 
2.1.4

-- 
-- 
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.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-08-14 22:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26 21:48 [rtc-linux] [PATCH 00/11] rtc: clean up bin attribute read/write functions Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 01/11] rtc: cmos: clean up cmos_nvram_read()/cmos_nvram_write() Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 02/11] rtc: ds1305: clean up ds1305_nvram_read()/ds1305_nvram_write() Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 03/11] rtc: ds1307: clean up ds1307_nvram_read()/ds1307_nvram_write() Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 04/11] rtc: ds1343: clean up ds1343_nvram_read()/ds1343_nvram_write() Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 05/11] rtc: ds1511: clean up ds1511_nvram_read()/ds1511_nvram_write() Vladimir Zapolskiy
2015-08-05  8:24   ` [rtc-linux] " Alexandre Belloni
2015-08-05 16:22     ` Vladimir Zapolskiy
2015-08-05 18:12   ` [rtc-linux] [PATCH v2 " Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 06/11] rtc: ds1553: clean up ds1553_nvram_read()/ds1553_nvram_write() Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 07/11] rtc: ds1742: clean up ds1742_nvram_read()/ds1742_nvram_write() Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 08/11] rtc: m48t59: clean up m48t59_nvram_read()/m48t59_nvram_write() Vladimir Zapolskiy
2015-08-05  8:27   ` [rtc-linux] " Alexandre Belloni
2015-08-05 16:04     ` Vladimir Zapolskiy
2015-08-05 18:13   ` [rtc-linux] [PATCH v2 " Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 09/11] rtc: rp5c01: clean up rp5c01_nvram_read()/rp5c01_nvram_write() Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 10/11] rtc: stk17ta8: clean up stk17ta8_nvram_read()/stk17ta8_nvram_write() Vladimir Zapolskiy
2015-07-26 21:48 ` [rtc-linux] [PATCH 11/11] rtc: tx4939: clean up tx4939_rtc_nvram_read()/tx4939_rtc_nvram_write() Vladimir Zapolskiy
2015-08-14 22:21 ` [rtc-linux] [PATCH 00/11] rtc: clean up bin attribute read/write functions Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox