Loading drivers/regulator/qpnp-amoled-regulator.c +2 −2 Original line number Diff line number Diff line Loading @@ -233,7 +233,7 @@ static int qpnp_ab_ibb_regulator_set_mode(struct regulator_dev *rdev, unsigned int mode) { struct qpnp_amoled *chip = rdev_get_drvdata(rdev); int rc; int rc = 0; if (mode != REGULATOR_MODE_NORMAL && mode != REGULATOR_MODE_STANDBY && mode != REGULATOR_MODE_IDLE) { Loading Loading @@ -276,7 +276,7 @@ static int qpnp_ab_ibb_regulator_set_mode(struct regulator_dev *rdev, error: if (rc < 0) pr_err("Failed to configure for mode %d\n", mode); return 0; return rc; } static unsigned int qpnp_ab_ibb_regulator_get_mode(struct regulator_dev *rdev) Loading Loading
drivers/regulator/qpnp-amoled-regulator.c +2 −2 Original line number Diff line number Diff line Loading @@ -233,7 +233,7 @@ static int qpnp_ab_ibb_regulator_set_mode(struct regulator_dev *rdev, unsigned int mode) { struct qpnp_amoled *chip = rdev_get_drvdata(rdev); int rc; int rc = 0; if (mode != REGULATOR_MODE_NORMAL && mode != REGULATOR_MODE_STANDBY && mode != REGULATOR_MODE_IDLE) { Loading Loading @@ -276,7 +276,7 @@ static int qpnp_ab_ibb_regulator_set_mode(struct regulator_dev *rdev, error: if (rc < 0) pr_err("Failed to configure for mode %d\n", mode); return 0; return rc; } static unsigned int qpnp_ab_ibb_regulator_get_mode(struct regulator_dev *rdev) Loading