From: Vladimir Zapolskiy Date: Sun, 26 Jul 2015 21:26:47 +0000 (+0300) Subject: power: ds2780_battery: clean up eeprom read/write functions X-Git-Tag: omap-for-v4.3/fixes-merge-window~37^2~21 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=753f15833c4d782ee41e333f66bfe424a39680e6;p=pandora-kernel.git power: ds2780_battery: clean up eeprom read/write functions The change removes redundant sysfs binary file boundary checks while reading or writing "param_eeprom" or "user_eeprom", the checks are not needed, since this task is done on caller side in fs/sysfs/file.c Signed-off-by: Vladimir Zapolskiy Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed