gpio-charger: Add gpio_charger_resume
authorBenson Leung <bleung@chromium.org>
Wed, 6 Apr 2011 23:55:20 +0000 (16:55 -0700)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 20 Apr 2011 13:48:48 +0000 (17:48 +0400)
commitf10513de2a6036742b55e23278f0322f2e5c3772
treeb6dbabbc55df2715e02871fc83a2c4bd742564e2
parentb14a9ccc1ddddfbc76b7cae06d02db4adf0ae1db
gpio-charger: Add gpio_charger_resume

Gpio charger should notify if the gpio state had changed
during suspend. This will send a CHANGED event each time
the system resumes, ensuring a plug/unplug of the charger
is not missed.

Signed-off-by: Benson Leung <bleung@chromium.org>
Acked-By: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/gpio-charger.c