commit | 8cfaaa811894a3ae2d7360a15a6cfccff3ebc7db | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali.rohar@gmail.com> | Tue Nov 01 01:43:11 2011 +0100 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Sat Nov 26 00:03:44 2011 +0400 |
tree | de05bfaa8a687daf431827a10548f9e9797c1569 | |
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>