commit | 753f15833c4d782ee41e333f66bfe424a39680e6 | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vz@mleia.com> | Mon Jul 27 00:26:47 2015 +0300 |
committer | Sebastian Reichel <sre@kernel.org> | Mon Jul 27 16:28:54 2015 +0200 |
tree | 7cf7ea0529a7433639f9b9dcbef4fc6827962411 | |
parent | 71a5a508436332ac40f688ef06e61628f25f3e5b [diff] |
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 <vz@mleia.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>