summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Breck <liam@networkimprov.net>2017-01-18 09:26:51 -0800
committerSebastian Reichel <sre@kernel.org>2017-01-20 12:45:53 +0100
commitcb190af290329c281ed2fbaf41ce6e4686b69922 (patch)
treeff7cea45d68093b70446cbe7d7e318720ad84ded
parentba52e75718784fda1b683ee0bfded72a0b83b047 (diff)
downloadlinux-exynos-cb190af290329c281ed2fbaf41ce6e4686b69922.tar.gz
linux-exynos-cb190af290329c281ed2fbaf41ce6e4686b69922.tar.bz2
linux-exynos-cb190af290329c281ed2fbaf41ce6e4686b69922.zip
power: supply: bq24190_charger: Adjust formatting
Add breathing room in probe() out* section. Signed-off-by: Liam Breck <kernel@networkimprov.net> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
-rw-r--r--drivers/power/supply/bq24190_charger.c4
1 files changed, 3 insertions, 1 deletions
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;
}