rtc: stk17ta8: clean up stk17ta8_nvram_read()/stk17ta8_nvram_write()
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 26 Jul 2015 21:48:35 +0000 (00:48 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:10 +0000 (13:19 +0200)
commitecc663c3d0dc181fd15e4d60753024d180fd7e8f
tree8616de1f3e594e4cc273c33d67d588e227dfca20
parentd1cf4bdee8e574c0d2b7ce9fa8d9cd89c0ac761a
rtc: stk17ta8: clean up stk17ta8_nvram_read()/stk17ta8_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-stk17ta8.c