Allow use of DVS GPIOs on the RK808 PMIC variant only
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | regulator: rk808: Perform trivial code cleanupsdrivers/ | +7 | 0 replies | |
| 2/3 | regulator: rk808: Use dev_err_probe() in the probe pathdrivers/ | +4 | 0 replies | |
| 3/3 | regulator: rk808: Restrict DVS GPIOs to the RK808 variant onlydrivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Allow use of DVS GPIOs on the RK808 PMIC variant only
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(-)