[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120314010520.GE10798@oksana.dev.rtsoft.ru>
Date: Wed, 14 Mar 2012 05:05:20 +0400
From: Anton Vorontsov <anton.vorontsov@...aro.org>
To: Arun Murthy <arun.murthy@...ricsson.com>
Cc: dwmw2@...radead.org, linux-kernel@...r.kernel.org,
karl.komierowski@...ricsson.com, johan.palsson@...ricsson.com,
linus.walleij@...aro.org
Subject: [PATCH 5/6] ab8500_fg: Fix copy-paste error
ab8500_fg_discharge_state_to() function should accept
'enum ab8500_fg_discharge_state' argument, not
'enum ab8500_fg_charge_state'.
Signed-off-by: Anton Vorontsov <anton.vorontsov@...aro.org>
---
drivers/power/ab8500_fg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c
index b7e12c8..0441f9d 100644
--- a/drivers/power/ab8500_fg.c
+++ b/drivers/power/ab8500_fg.c
@@ -1255,7 +1255,7 @@ static void ab8500_fg_charge_state_to(struct ab8500_fg *di,
}
static void ab8500_fg_discharge_state_to(struct ab8500_fg *di,
- enum ab8500_fg_charge_state new_state)
+ enum ab8500_fg_discharge_state new_state)
{
dev_dbg(di->dev, "Disharge state from %d [%s] to %d [%s]\n",
di->discharge_state,
--
1.7.9
--
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