wm831x-backup: Remove unused variables
PATCH 1/1 wm831x-backup: Remove unused variables
Signed-off-by Alan Cox <[email protected]>
---
drivers/power/wm831x_backup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/power/wm831x_backup.c +1 -1
@@ -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 )
Quoted 1 line · Alan Cox
Signed-off-by Alan Cox <[email protected]>
Acked-by Mark Brown <[email protected]>
Adding Anton since this is one for his tree.
Quoted 20 lines
---
drivers/power/wm831x_backup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/power/wm831x_backup.c +1
-1@@ -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 )
Anton Vorontsov
AppliedQuoted 6 lines · Mark Brown
Quoted 1 line · Alan Cox
Signed-off-by Alan Cox <[email protected]>Acked-by Mark Brown <[email protected]>Adding Anton since this is one for his tree.
Applied, thanks.
Quoted 20 lines
Quoted 20 lines
---
drivers/power/wm831x_backup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/power/wm831x_backup.c +1
-1@@ -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 )
Signature · 3 lines
Anton Vorontsov email: [email protected] irc://irc.freenode.net/bd2