summaryrefslogtreecommitdiffstats
path: root/drivers/power/wm831x_power.c
diff options
context:
space:
mode:
authorIan Lartey <ian@opensource.wolfsonmicro.com>2010-09-01 18:09:27 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-09-01 22:35:06 +0400
commit2d98dae206daad05d794255b15bd0eb31c9294d0 (patch)
treed911ceb1989885d17afa6302e1f9e0b76d8c16a4 /drivers/power/wm831x_power.c
parentfd0964c5f1bdaa979a7ea5cfc9af2de9b0a1e766 (diff)
downloadlinux-2d98dae206daad05d794255b15bd0eb31c9294d0.tar.gz
linux-2d98dae206daad05d794255b15bd0eb31c9294d0.tar.bz2
linux-2d98dae206daad05d794255b15bd0eb31c9294d0.zip
wm831x_power: Remove duplicate chg mask
Reported-by: Julia Lawall <julia@diku.dk> Signed-off-by: Ian Lartey <ian@opensource.wolfsonmicro.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/wm831x_power.c')
-rw-r--r--drivers/power/wm831x_power.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/wm831x_power.c b/drivers/power/wm831x_power.c
index fbcc36dae470..a57a94150cb8 100644
--- a/drivers/power/wm831x_power.c
+++ b/drivers/power/wm831x_power.c
@@ -267,7 +267,6 @@ static void wm831x_config_battery(struct wm831x *wm831x)
ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_1,
WM831X_CHG_ENA_MASK |
WM831X_CHG_FAST_MASK |
- WM831X_CHG_ITERM_MASK |
WM831X_CHG_ITERM_MASK,
reg1);
if (ret != 0)