power: collie_battery: support generating wakeup event
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 15 Jan 2015 02:00:38 +0000 (05:00 +0300)
committerSebastian Reichel <sre@kernel.org>
Tue, 20 Jan 2015 12:58:32 +0000 (13:58 +0100)
commitf1300e7f6211139da9bc1ebf685f244fbd0ee58d
treec60ddd538394be34a633d11a2605a167167db942
parentfaeed51bb65ce0241052d8dc24ac331ade12e976
power: collie_battery: support generating wakeup event

Teach collie_battery driver to communicate to the kernel that it can
generate wakeup events. Handle enabling/disabling wakeup on battery full
event in suspend/resume callbacks.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/collie_battery.c