projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: rockchip: fix wrong clr for phy interrupt
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
power
/
ricoh619-battery.c
diff --git
a/drivers/power/ricoh619-battery.c
b/drivers/power/ricoh619-battery.c
index d4da2416ea91ad2136b0be585fef0e683437c047..24e840aef59c853b625a982503bce1e33edee189 100755
(executable)
--- a/
drivers/power/ricoh619-battery.c
+++ b/
drivers/power/ricoh619-battery.c
@@
-4504,7
+4504,6
@@
static int ricoh619_battery_probe(struct platform_device *pdev)
return 0;
out:
- kfree(info);
return ret;
}
@@
-4608,7
+4607,6
@@
static int ricoh619_battery_remove(struct platform_device *pdev)
#endif
power_supply_unregister(&info->battery);
- kfree(info);
platform_set_drvdata(pdev, NULL);
return 0;
}