]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1305: clean up ds1305_nvram_read()/ds1305_nvram_write()
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 26 Jul 2015 21:48:27 +0000 (00:48 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:09 +0000 (13:19 +0200)
commitac10a40f9ae9160aa821b0071051439eafb8eb84
treeca4873978cd75865f423efb522b6326f41704caa
parent76582a33a9b4ebc32a6779f5c8ee7b941fa73a63
rtc: ds1305: clean up ds1305_nvram_read()/ds1305_nvram_write()

The change removes redundant sysfs binary file boundary checks, since
this task is already done on caller size in fs/sysfs/file.c

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds1305.c