power: bq27520: Gauge registration should be done in probe

Change-Id: Ifaea09984a323f781a1168876bcc52da141f564f
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
diff --git a/drivers/power/bq27520_fuelgauger.c b/drivers/power/bq27520_fuelgauger.c
index 284b134..3c191cd 100644
--- a/drivers/power/bq27520_fuelgauger.c
+++ b/drivers/power/bq27520_fuelgauger.c
@@ -458,6 +458,7 @@
 	 */
 	if_notify_msm_charger(&status);
 	update_current_battery_status(status);
+	msm_battery_gauge_register(&bq27520_batt_gauge);
 	msm_charger_notify_event(NULL, CHG_BATT_STATUS_CHANGE);
 
 	enable_irq(di->irq);
@@ -938,7 +939,6 @@
 
 	/* initialize current_battery_status, and register with msm-charger */
 	init_battery_status();
-	msm_battery_gauge_register(&bq27520_batt_gauge);
 
 	ret = i2c_add_driver(&bq27520_battery_driver);
 	if (ret)