Loading drivers/power/supply/qcom/qpnp-smb5.c +3 −4 Original line number Diff line number Diff line Loading @@ -1391,15 +1391,14 @@ static int smb5_dc_set_prop(struct power_supply *psy, static int smb5_dc_prop_is_writeable(struct power_supply *psy, enum power_supply_property psp) { int rc; switch (psp) { case POWER_SUPPLY_PROP_INPUT_VOLTAGE_REGULATION: return 1; default: rc = 0; break; } return rc; return 0; } static const struct power_supply_desc dc_psy_desc = { Loading Loading
drivers/power/supply/qcom/qpnp-smb5.c +3 −4 Original line number Diff line number Diff line Loading @@ -1391,15 +1391,14 @@ static int smb5_dc_set_prop(struct power_supply *psy, static int smb5_dc_prop_is_writeable(struct power_supply *psy, enum power_supply_property psp) { int rc; switch (psp) { case POWER_SUPPLY_PROP_INPUT_VOLTAGE_REGULATION: return 1; default: rc = 0; break; } return rc; return 0; } static const struct power_supply_desc dc_psy_desc = { Loading