isp1704_charger: Set isp->dev before anything needs it
authorHeikki Krogerus <heikki.krogerus@nokia.com>
Thu, 4 Nov 2010 14:31:48 +0000 (16:31 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Thu, 18 Nov 2010 13:56:20 +0000 (16:56 +0300)
commita4607d9f5cbae1aad7f86e8204b57d66c0e14e36
treeade06599b0c57548667452558c51b1b5ed81abbb
parentbac43b20501058ab0728246acce3bb85f2e72648
isp1704_charger: Set isp->dev before anything needs it

isp1704_test_ulpi() is the first place that needs isp->dev
member, so it must be set before calling the function.

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