From cb190af290329c281ed2fbaf41ce6e4686b69922 Mon Sep 17 00:00:00 2001 From: Liam Breck Date: Wed, 18 Jan 2017 09:26:51 -0800 Subject: [PATCH] power: supply: bq24190_charger: Adjust formatting Add breathing room in probe() out* section. Signed-off-by: Liam Breck Acked-by: Tony Lindgren Signed-off-by: Sebastian Reichel --- drivers/power/supply/bq24190_charger.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/power/supply/bq24190_charger.c b/drivers/power/supply/bq24190_charger.c index 881f481..a4f0849 100644 --- a/drivers/power/supply/bq24190_charger.c +++ b/drivers/power/supply/bq24190_charger.c @@ -1404,15 +1404,17 @@ static int bq24190_probe(struct i2c_client *client, out4: bq24190_sysfs_remove_group(bdi); + out3: power_supply_unregister(bdi->battery); + out2: power_supply_unregister(bdi->charger); + out1: pm_runtime_disable(dev); if (bdi->gpio_int) gpio_free(bdi->gpio_int); - return ret; } -- 2.7.4