isp1704_charger: Detect charger after probe
authorHeikki Krogerus <heikki.krogerus@nokia.com>
Mon, 8 Nov 2010 10:22:40 +0000 (12:22 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Thu, 18 Nov 2010 13:56:21 +0000 (16:56 +0300)
If the device is booted up with cable connected, or the
module is loaded after plugging in the cable, the
notification has come and gone, so not relying on it at
probe time. Instead this checks the VBUS level manually
after probe.

Signed-off-by: Heikki Krogerus <heikki.krogerus@nokia.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/isp1704_charger.c

Simple merge