diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2011-10-31 20:43:11 -0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-11-25 15:03:44 -0500 |
commit | 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db (patch) | |
tree | de05bfaa8a687daf431827a10548f9e9797c1569 /lib/mpi/mpiutil.c | |
parent | c6cd4f267d442f2ce279024adb03a69e8608e0f6 (diff) |
bq27x00_battery: Fix OOPS caused by unregistring bq27x00 driver
* power_supply_unregister call bq27x00_battery_get_property which
call bq27x00_battery_poll
* make sure that bq27x00_battery_poll will not call
schedule_delayed_work again after unregister (which cause OOPS)
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions