BZ: 29047
This patch removes the WA for adding device entry
in intel-mid.c as the latest IFWI support device entry
for smb347 charger.
Old-Change-Id: Ic6ee390ae82c181dc51e1e6080a1a790bf1a4232
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This reverts commit
b23a47438facee19378fb3db4c95a995e4f0b471
Change-Id: Ic3d8c963d3cfa11c3035fe8bd92adb6273b902af
Signed-off-by: Laurent Kappel <laurentx.kappel@intel.com>
Reviewed-on: http://android.intel.com:8080/41677
Reviewed-by: Lebouc, Christophe <christophe.lebouc@intel.com>
Tested-by: Lebouc, Christophe <christophe.lebouc@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
}
}
+#if CONFIG_CHARGER_SMB347 /* WA untill SFI entry for smb347 gets added */
+ strncpy(pentry->name, "smb347", SFI_NAME_LEN);
+ pentry->type = SFI_DEV_TYPE_I2C;
+ pentry->addr = 0x6;
+ pentry->host_num = 1;
+ dev = get_device_id(pentry->type, "smb347");
+ sfi_handle_i2c_dev(pentry, dev);
+#endif
return 0;
}