diff options
author | Alan Cox <alan@linux.intel.com> | 2009-11-17 10:44:54 -0500 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2009-11-17 11:16:38 -0500 |
commit | 0e19dbb73eab1f5de328e297b8b6d9887c3e73c2 (patch) | |
tree | c1b787bfce53f171c3e711e777590e0f506f0633 | |
parent | 2f745dde1f5659d8d6ff5b36996039b3f5a0a20a (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>
-rw-r--r-- | drivers/power/wm831x_backup.c | 2 |
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) |