Skip to content

Commit

Permalink
wm831x_backup: Remove unused variables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Anton Vorontsov committed Nov 17, 2009
1 parent 2f745dd commit 0e19dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/wm831x_backup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0e19dbb

Please sign in to comment.