From: Liam Breck Date: Wed, 18 Jan 2017 17:26:51 +0000 (-0800) Subject: power: supply: bq24190_charger: Adjust formatting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb190af290329c281ed2fbaf41ce6e4686b69922;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/drivers/power/supply/bq24190_charger.c b/drivers/power/supply/bq24190_charger.c index 881f481d5f14..a4f08492abeb 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; }