[PATCH 0/3] Allow use of DVS GPIOs on the RK808 PMIC variant only

From: Dragan Simic
Date: Mon Oct 14 2024 - 06:44:03 EST


This is a small series that primarily makes the rk808-regulator driver
more compliant to the DT bindings, by allowing use of DVS GPIOs on the
RK808 variant only. There's no point in allowing that on the other PMIC
variants, because they don't support the DVS GPIOs, and it goes against
the DT bindings to allow a possibly misplaced "dvs-gpios" property to
actually be handled in the rk808-regulator driver.

This series also cleans up the code a bit, improves some comments, and
replaces dev_err() with dev_err_probe(), where appropriate.

Dragan Simic (3):
regulator: rk808: Perform trivial code cleanups
regulator: rk808: Use dev_err_probe() in the probe path
regulator: rk808: Restrict DVS GPIOs to the RK808 variant only

drivers/regulator/rk808-regulator.c | 41 +++++++++++++----------------
1 file changed, 19 insertions(+), 22 deletions(-)