From: Vladimir Zapolskiy Date: Sun, 26 Jul 2015 21:26:48 +0000 (+0300) Subject: power: ds2781_battery: clean up eeprom read/write functions X-Git-Tag: omap-for-v4.3/fixes-merge-window~37^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f28b86552aef94733387814a57755cb0019cfb9;p=pandora-kernel.git power: ds2781_battery: clean up eeprom read/write functions The change removes redundant calculation of left space on eeprom 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