summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-11-17 16:44:54 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2009-11-17 17:16:38 +0100
commit0e19dbb73eab1f5de328e297b8b6d9887c3e73c2 (patch)
treec1b787bfce53f171c3e711e777590e0f506f0633 /drivers/power
parentgta02: Set pcf50633 charger_reference_current_ma (diff)
downloadlinux-0e19dbb73eab1f5de328e297b8b6d9887c3e73c2.tar.xz
linux-0e19dbb73eab1f5de328e297b8b6d9887c3e73c2.zip
wm831x_backup: Remove unused variables
Signed-off-by: Alan Cox <alan@linux.intel.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/wm831x_backup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/wm831x_backup.c b/drivers/power/wm831x_backup.c
index f181076a4085..bf4f387a8009 100644
--- a/drivers/power/wm831x_backup.c
+++ b/drivers/power/wm831x_backup.c
@@ -164,7 +164,7 @@ static __devinit int wm831x_backup_probe(struct platform_device *pdev)
struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
struct wm831x_backup *devdata;
struct power_supply *backup;
- int ret, irq, i;
+ int ret;
devdata = kzalloc(sizeof(struct wm831x_backup), GFP_KERNEL);
if (devdata == NULL)