aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-11-17 10:44:54 -0500
committerAnton Vorontsov <cbouatmailru@gmail.com>2009-11-17 11:16:38 -0500
commit0e19dbb73eab1f5de328e297b8b6d9887c3e73c2 (patch)
treec1b787bfce53f171c3e711e777590e0f506f0633 /drivers/power
parent2f745dde1f5659d8d6ff5b36996039b3f5a0a20a (diff)
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)
164 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 164 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
165 struct wm831x_backup *devdata; 165 struct wm831x_backup *devdata;
166 struct power_supply *backup; 166 struct power_supply *backup;
167 int ret, irq, i; 167 int ret;
168 168
169 devdata = kzalloc(sizeof(struct wm831x_backup), GFP_KERNEL); 169 devdata = kzalloc(sizeof(struct wm831x_backup), GFP_KERNEL);
170 if (devdata == NULL) 170 if (devdata == NULL)