rtc: ds1343: clean up ds1343_nvram_read()/ds1343_nvram_write()
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 26 Jul 2015 21:48:29 +0000 (00:48 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:10 +0000 (13:19 +0200)
commitf4843b19d2c7b5effd25e2a65b487d02bf55e96f
treee7e5586424edd7bc3c041fa9de06be41e60cbfe6
parentca7c14d3a1ab1932732c506e32ab5b189b9c0a16
rtc: ds1343: clean up ds1343_nvram_read()/ds1343_nvram_write()

The change removes redundant sysfs binary file boundary checks, since
this task is already done on caller side 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-ds1343.c