]> git.karo-electronics.de Git - linux-beck.git/commit
power: generic-adc-battery: Fix power_supply_property returned value
authorNicolas Saenz Julienne <nicolassaenzj@gmail.com>
Sun, 8 Mar 2015 19:21:20 +0000 (19:21 +0000)
committerSebastian Reichel <sre@kernel.org>
Mon, 9 Mar 2015 01:51:36 +0000 (02:51 +0100)
commit0595439a0a8740f776a0ae367a4c7f243add24ec
treee848e6443e8bddf36db178a7908b47b6e20ce9c8
parent02232be7a2bf6e2dd5e4a6c3a81470a09ecc7fdd
power: generic-adc-battery: Fix power_supply_property returned value

The POWER_SUPPLY_PROP_STATUS case in gab_get_property() wasn't providing any
value.

Signed-off-by: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/generic-adc-battery.c