From: Vladimir Zapolskiy Date: Sun, 26 Jul 2015 21:26:49 +0000 (+0300) Subject: power: olpc_battery: clean up eeprom read function X-Git-Tag: omap-for-v4.3/fixes-merge-window~37^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e1d9c6f241961e2e21b8df9de5ee12e3dc6f177;p=pandora-kernel.git power: olpc_battery: clean up eeprom read function The change removes redundant sysfs binary file boundary check while reading eeprom content from userspace, the check is done on caller side in fs/sysfs/file.c, if binary attribute size is not zero. Signed-off-by: Vladimir Zapolskiy Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed