From: Zhang Rui Date: Wed, 28 May 2014 07:23:37 +0000 (+0800) Subject: power_supply: allow power supply devices registered w/o wakeup source X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~5^2~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9113e260767b1cb44f8da0e5922e1a9a5417c4b8;p=pandora-kernel.git power_supply: allow power supply devices registered w/o wakeup source Currently, all the power supply devices are registered with wakeup source, this results in that every power_supply_changed() invocation brings the system out of suspend-to-freeze state. This is overkill as some device drivers, e.g. ACPI battery driver, have the ability to check the device status and wake up the system from sleeping only when necessary. Thus introduce a new API which allows device to be registered w/o wakeup source. Signed-off-by: Zhang Rui Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed