aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
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)