diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-07-27 00:26:47 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-07-27 16:28:54 +0200 |
commit | 753f15833c4d782ee41e333f66bfe424a39680e6 (patch) | |
tree | 7cf7ea0529a7433639f9b9dcbef4fc6827962411 /drivers/power/axp288_fuel_gauge.c | |
parent | 71a5a508436332ac40f688ef06e61628f25f3e5b (diff) | |
download | talos-op-linux-753f15833c4d782ee41e333f66bfe424a39680e6.tar.gz talos-op-linux-753f15833c4d782ee41e333f66bfe424a39680e6.zip |
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>
Diffstat (limited to 'drivers/power/axp288_fuel_gauge.c')
0 files changed, 0 insertions, 0 deletions