summaryrefslogtreecommitdiff
path: root/drivers/power/wm831x_backup.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-11-17 18:44:54 +0300
committerAnton Vorontsov <cbouatmailru@gmail.com>2009-11-17 19:16:38 +0300
commit0e19dbb73eab1f5de328e297b8b6d9887c3e73c2 (patch)
treec1b787bfce53f171c3e711e777590e0f506f0633 /drivers/power/wm831x_backup.c
parent2f745dde1f5659d8d6ff5b36996039b3f5a0a20a (diff)
downloadlinux-0e19dbb73eab1f5de328e297b8b6d9887c3e73c2.tar.xz
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/wm831x_backup.c')
-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)