bq27x00_battery: register as non-wakeup power supply.
authorNeilBrown <neilb@suse.de>
Tue, 24 Feb 2015 03:17:32 +0000 (14:17 +1100)
committerSebastian Reichel <sre@kernel.org>
Wed, 25 Feb 2015 20:36:35 +0000 (21:36 +0100)
commit5cd0c76d69a1a4bef3a84c3177216b227a4d2448
tree05a32ac913edaeb77e77162e5b26c5167eb1cb00
parent65ce1c954985e3d9805124d061ce63a63aa625ce
bq27x00_battery: register as non-wakeup power supply.

power_supply status changes for the bq27x00 are only
noticed via polling, not via interrupts.  So they are never
the source of events which should reliably wake the system
from suspend.
So it is appropriate to register as a no_ws power source,
just like the ACPI battery.

This removes some debugging messages which occasionally
confusingly identify bq27x00 as a wakeup source.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq27x00_battery.c