EM/Battery: Added max170xx_battery device id into charger driver
authorPandey Raj <raj.pandey@intel.com>
Mon, 16 Apr 2012 11:23:35 +0000 (16:53 +0530)
committerbuildbot <buildbot@intel.com>
Tue, 17 Apr 2012 17:32:57 +0000 (10:32 -0700)
BZ: 30836

This patch adds a new entry max170xx_battery to bq24192_power_supplied_to
list of bq24192 charger driver to make the FG chip generic. The FG driver
initializes the chip depending upon the platform type.

Change-Id: Id57ccc6ff3effb366b3c7fa09987b9f56644729c
Signed-off-by: Pandey Raj <raj.pandey@intel.com>
Reviewed-on: http://android.intel.com:8080/43569
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Pallala, Ramakrishna <ramakrishna.pallala@intel.com>
Tested-by: Kallappa Manjanna, MadhukumarX <madhukumarx.kallappa.manjanna@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/power/bq24192_charger.c

index 30f722f..0a36d02 100644 (file)
@@ -215,6 +215,7 @@ static char bq24192_dbg_regs[BQ24192_MAX_MEM][4];
 static struct i2c_client *bq24192_client;
 
 static char *bq24192_power_supplied_to[] = {
+                       "max170xx_battery",
                        "max17042_battery",
 };