projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
88pm860x_charger: Drop kfree of devm_kzalloc'd data
[linux-2.6-microblaze.git]
/
drivers
/
power
/
88pm860x_charger.c
diff --git
a/drivers/power/88pm860x_charger.c
b/drivers/power/88pm860x_charger.c
index
4b37a5a
..
36fb4b5
100644
(file)
--- a/
drivers/power/88pm860x_charger.c
+++ b/
drivers/power/88pm860x_charger.c
@@
-714,7
+714,6
@@
out_irq:
while (--i >= 0)
free_irq(info->irq[i], info);
out:
- kfree(info);
return ret;
}
@@
-728,7
+727,6
@@
static int pm860x_charger_remove(struct platform_device *pdev)
free_irq(info->irq[0], info);
for (i = 0; i < info->irq_nums; i++)
free_irq(info->irq[i], info);
- kfree(info);
return 0;
}