[PATCH 0/3] regulator: ROHM BDxxxxx minor print improvements
From: Matti Vaittinen
Date: Wed Nov 23 2022 - 06:59:59 EST
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
--
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 =]
Attachment:
signature.asc
Description: PGP signature