power: max17042-battery: initialise fuel gauge driver before charger
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 30 May 2013 19:31:00 +0000 (00:31 +0530)
committerHarshada Kale <hkale@nvidia.com>
Mon, 3 Jun 2013 11:11:50 +0000 (04:11 -0700)
commit9a10669af1ea46b1a55d03f47d6c66d835ecc181
tree9ba9934582a452cb9d700d5da5a81fd5bed38928
parentd3077c2b7a259ff8f21103f672f294817478b487
power: max17042-battery: initialise fuel gauge driver before charger

As charger driver uses the API from fuel gauge driver, register/initailise
the fuel gauge driver before charger driver.

Change-Id: I61586cf6958f52af282cde080c26ae0992826218
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/234254
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
drivers/power/max17042_battery.c