Skip to content

regulator: ROHM BDxxxxx minor print improvements

Matti Vaittinen lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3regulator: bd718x7: Drop unnecessary info printdrivers/regulator/bd718x7-regulator.c+0 -20 replies
2/3regulator: bd71815: bd71828: bd9576: Use dev_err_probe()drivers/regulator/bd71815-regulator.c drivers/regulator/bd71828-regulator.c drivers/regulator/bd9576-regulator.c+38 -470 replies
3/3regulator: bd718x7: Use dev_err_probe()drivers/regulator/bd718x7-regulator.c+19 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] regulator: ROHM BDxxxxx minor print improvements

Minor (printing) improvements for ROHM regulator drivers.

This series:

- Drops an unnecessary info print from bd718x7.
(Added a fixes tag for this but not really sure if worth adding to stable)
- Convert the ROHM BDxxxxx PMIC regulator drivers to use dev_err_probe().
- Change the probe logic for bd718x7 to favor the more usual devm-style where errors are returned immediately.

Patch 1:
- Drop the unnecessary print. (a fix)
Patch 2:
- Do simple conversion to dev_err() => dev_err_probe()
Patch 3:
- Convert bd718x7 to use dev_err_probe() and drop the goto-based single point of exit.

---

Matti Vaittinen (3):
regulator: bd718x7: Drop unnecessary info print
regulator: bd71815: bd71828: bd9576: Use dev_err_probe()
regulator: bd718x7: Use dev_err_probe()

 drivers/regulator/bd71815-regulator.c | 10 ++---
 drivers/regulator/bd71828-regulator.c | 21 +++++------
 drivers/regulator/bd718x7-regulator.c | 53 ++++++++++----------------
 drivers/regulator/bd9576-regulator.c  | 54 +++++++++++++--------------
 4 files changed, 57 insertions(+), 81 deletions(-)

base-commit: 094226ad94f471a9f19e8f8e7140a09c2625abaa

Signature · 14 lines
2.38.1


-- 
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =]