diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-07-26 23:26:48 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-07-27 16:28:54 +0200 |
commit | 9f28b86552aef94733387814a57755cb0019cfb9 (patch) | |
tree | 6a17f9e3b2ea302466e408a60fd2c980e3cd8753 /drivers/power/olpc_battery.c | |
parent | power: ds2780_battery: clean up eeprom read/write functions (diff) | |
download | linux-9f28b86552aef94733387814a57755cb0019cfb9.tar.xz linux-9f28b86552aef94733387814a57755cb0019cfb9.zip |
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 <vz@mleia.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/olpc_battery.c')
0 files changed, 0 insertions, 0 deletions