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
Revert "Revert "MALI: midgard: support sharing regulator with other devices""
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
power
/
bq24296_charger.c
diff --git
a/drivers/power/bq24296_charger.c
b/drivers/power/bq24296_charger.c
index 9bdc35e8877c0d34def6e09adea69050a0e67c3e..09a8d7f887350abdcbb5698f4908188984f2f4c7 100755
(executable)
--- a/
drivers/power/bq24296_charger.c
+++ b/
drivers/power/bq24296_charger.c
@@
-608,8
+608,7
@@
static void bq24296_battery_shutdown(struct i2c_client *client)
static int bq24296_battery_remove(struct i2c_client *client)
{
- struct bq24296_device_info *di = i2c_get_clientdata(client);
- kfree(di);
+
return 0;
}