mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 17:53:56 +08:00
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>
This commit is contained in:
parent
2f745dde1f
commit
0e19dbb73e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user