[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1350486076-3784-1-git-send-email-antiroot@gmail.com>
Date: Thu, 18 Oct 2012 00:01:14 +0900
From: Sangho Yi <antiroot@...il.com>
To: broonie@...nsource.wolfsonmicro.com, cbow@...l.ru,
dwmw2@...adead.org
Cc: linux-kernel@...r.kernel.org, patches@...nsource.wolfsonmicro.com,
Sangho Yi <antiroot@...il.com>
Subject: [PATCH 1/3] power: wm831x_power: Fixed indentation errors
I fixed the following indentation errors (a couple of errors were on the
wm831x_power.c)
WARNING: suspect code indent for conditional statements
Signed-off-by: Sangho Yi <antiroot@...il.com>
---
drivers/power/wm831x_power.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/power/wm831x_power.c b/drivers/power/wm831x_power.c
index fc1ad95..833841b 100644
--- a/drivers/power/wm831x_power.c
+++ b/drivers/power/wm831x_power.c
@@ -555,14 +555,14 @@ static __devinit int wm831x_power_probe(struct platform_device *pdev)
power->have_battery = ret & WM831X_CHG_ENA;
if (power->have_battery) {
- battery->name = power->battery_name;
- battery->properties = wm831x_bat_props;
- battery->num_properties = ARRAY_SIZE(wm831x_bat_props);
- battery->get_property = wm831x_bat_get_prop;
- battery->use_for_apm = 1;
- ret = power_supply_register(&pdev->dev, battery);
- if (ret)
- goto err_usb;
+ battery->name = power->battery_name;
+ battery->properties = wm831x_bat_props;
+ battery->num_properties = ARRAY_SIZE(wm831x_bat_props);
+ battery->get_property = wm831x_bat_get_prop;
+ battery->use_for_apm = 1;
+ ret = power_supply_register(&pdev->dev, battery);
+ if (ret)
+ goto err_usb;
}
irq = wm831x_irq(wm831x, platform_get_irq_byname(pdev, "SYSLO"));
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists