summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-08-31 09:26:33 +0000
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-09-20 18:06:30 -0700
commit5e00b9761b6e56096da8276a51484e5c53df72c6 (patch)
tree3863b4c9deb9df556dfa9b3cde20b3d829ce8148 /drivers/power
parent20414e2e0e10c2152e44784599e6d66fae39d77c (diff)
lp8727_charger: Make some cosmetic changes in lp8727_delayed_func()
Declare a variable at one line and align lines. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/lp8727_charger.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index 19c21f9b6d3b..80e38aecc131 100644
--- a/drivers/power/lp8727_charger.c
+++ b/drivers/power/lp8727_charger.c
@@ -219,9 +219,11 @@ static void lp8727_enable_chgdet(struct lp8727_chg *pchg)
static void lp8727_delayed_func(struct work_struct *_work)
{
- u8 intstat[LP8788_NUM_INTREGS], idno, vbus;
- struct lp8727_chg *pchg =
- container_of(_work, struct lp8727_chg, work.work);
+ struct lp8727_chg *pchg = container_of(_work, struct lp8727_chg,
+ work.work);
+ u8 intstat[LP8788_NUM_INTREGS];
+ u8 idno;
+ u8 vbus;
if (lp8727_read_bytes(pchg, LP8727_INT1, intstat, LP8788_NUM_INTREGS)) {
dev_err(pchg->dev, "can not read INT registers\n");