]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
misc: ds1682: clean up ds1682_eeprom_read() and ds1682_eeprom_write()
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 26 Jul 2015 21:18:47 +0000 (00:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 20:53:39 +0000 (13:53 -0700)
commit2b6e5ba3d2ed958f6c32bfc84cdab3377e391f02
tree9a266e88cfdbca868ef4cd0abadeebebda196fce
parentacb921a5a1e5fb2b864be25caf7317531f91a832
misc: ds1682: clean up ds1682_eeprom_read() and ds1682_eeprom_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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ds1682.c