qcom-charger: smb138x-charger: change power supply type to usb parallel

Currently the type of the parallel power supply is
POWER_SUPPLY_TYPE_BATTERY. Change it to POWER_SUPPLY_TYPE_USB_PARALLEL.

Change-Id: Ic7652e43781f39d3137fb55f2fec2423e457fac4
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
This commit is contained in:
Nicholas Troast 2016-07-19 09:09:12 -07:00
parent 7ebe256eaa
commit 081d5841c7

View file

@ -423,7 +423,7 @@ static int smb138x_parallel_prop_is_writeable(struct power_supply *psy,
static const struct power_supply_desc parallel_psy_desc = {
.name = "parallel",
.type = POWER_SUPPLY_TYPE_BATTERY,
.type = POWER_SUPPLY_TYPE_USB_PARALLEL,
.properties = smb138x_parallel_props,
.num_properties = ARRAY_SIZE(smb138x_parallel_props),
.get_property = smb138x_parallel_get_prop,