summaryrefslogtreecommitdiffstats
path: root/drivers/power/apm_power.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2015-07-26 23:26:49 +0200
committerSebastian Reichel <sre@kernel.org>2015-07-27 16:28:54 +0200
commit3e1d9c6f241961e2e21b8df9de5ee12e3dc6f177 (patch)
treea4d372e6327efbca685cbb2e7f5baa8556d8485c /drivers/power/apm_power.c
parentpower: ds2781_battery: clean up eeprom read/write functions (diff)
downloadlinux-3e1d9c6f241961e2e21b8df9de5ee12e3dc6f177.tar.xz
linux-3e1d9c6f241961e2e21b8df9de5ee12e3dc6f177.zip
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 <vz@mleia.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/apm_power.c')
0 files changed, 0 insertions, 0 deletions