power: supply: sysfs: Use enum to specify property
Power supply property is in fact enum, so reflect it in code. Also use switch statement in show property function as is done for storing property. Signed-off-by:Ladislav Michl <ladis@linux-mips.org> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Showing
Please register or sign in to comment