Re: [PATCH v2 15/17] power: supply: olpc_battery: Use devm_power_supply_register()

2018-12-05 Thread Sebastian Reichel
Hi, On Fri, Nov 16, 2018 at 05:24:01PM +0100, Lubomir Rintel wrote: > This simplifies the error handling. > > Signed-off-by: Lubomir Rintel > > --- Reviewed-by: Sebastian Reichel -- Sebastian > Changes since v1: > - This was split off the "power: supply: olpc_battery: Move priv data to >

[PATCH v2 15/17] power: supply: olpc_battery: Use devm_power_supply_register()

2018-11-16 Thread Lubomir Rintel
This simplifies the error handling. Signed-off-by: Lubomir Rintel --- Changes since v1: - This was split off the "power: supply: olpc_battery: Move priv data to a struct" patch. drivers/power/supply/olpc_battery.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-)