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:
parent
7ebe256eaa
commit
081d5841c7
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue