Skip to content
Commit 3e1d9c6f authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Sebastian Reichel
Browse files

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: default avatarVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 9f28b865
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment