public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matti Vaittinen <mazziesaccount@gmail.com>
To: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>,
	Matti Vaittinen <mazziesaccount@gmail.com>
Cc: Matti Vaittinen <mazziesaccount@gmail.com>,
	linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>
Subject: [PATCH 0/3] regulator: ROHM BDxxxxx minor print improvements
Date: Wed, 23 Nov 2022 13:59:48 +0200	[thread overview]
Message-ID: <cover.1669203610.git.mazziesaccount@gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2022-11-23 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 11:59 Matti Vaittinen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1669203610.git.mazziesaccount@gmail.com \
    --to=mazziesaccount@gmail.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matti.vaittinen@fi.rohmeurope.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox