public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] regulator: ROHM BDxxxxx minor print improvements
@ 2022-11-23 11:59 Matti Vaittinen
  2022-11-23 12:00 ` [PATCH 1/3] regulator: bd718x7: Drop unnecessary info print Matti Vaittinen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Matti Vaittinen @ 2022-11-23 11:59 UTC (permalink / raw)
  To: Matti Vaittinen, Matti Vaittinen
  Cc: Matti Vaittinen, linux-kernel, Mark Brown, Liam Girdwood

[-- Attachment #1: Type: text/plain, Size: 1532 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-23 17:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-23 11:59 [PATCH 0/3] regulator: ROHM BDxxxxx minor print improvements Matti Vaittinen
2022-11-23 12:00 ` [PATCH 1/3] regulator: bd718x7: Drop unnecessary info print Matti Vaittinen
2022-11-23 12:00 ` [PATCH 2/3] regulator: bd71815: bd71828: bd9576: Use dev_err_probe() Matti Vaittinen
2022-11-23 12:00 ` [PATCH 3/3] regulator: bd718x7: " Matti Vaittinen
2022-11-23 17:23 ` [PATCH 0/3] regulator: ROHM BDxxxxx minor print improvements Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox