Re: [PATCH 4/8] power: ab8500: Use power_supply_*() API for accessing function attrs

2014-10-28 Thread Linus Walleij
On Tue, Oct 14, 2014 at 2:20 PM, Krzysztof Kozlowski wrote: > Replace direct calls to power supply function attributes with wrappers. > Wrappers provide safe access access in case of unregistering the power > supply (.e.g by removing the driver). Replace: > - get_property -> power_supply_get_pro

[PATCH 4/8] power: ab8500: Use power_supply_*() API for accessing function attrs

2014-10-14 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access access in case of unregistering the power supply (.e.g by removing the driver). Replace: - get_property -> power_supply_get_property Signed-off-by: Krzysztof Kozlowski --- drivers/power/ab8500_b