power: bq28400: update batt_psy.name to avoid conflict
Currently, batt_psy.name is set to "battery" which results in registration
conflict with other charger driver, like smb350. Hence update batt_psy.name
to "bq28400_battery" to avoid registration conflict. Also,
change batt_psy.type to POWER_SUPPLT_TYPE_BMS which matches the fuel gauge
part.
Change-Id: I01badfabe572889db5292fa69670e1ad9062b756
Signed-off-by:
Ke Liu <keliu@codeaurora.org>
Loading
Please register or sign in to comment