From: Andrew Jeffery <andrew@codeconstruct.com.au>
To: David Lechner <dlechner@baylibre.com>,
Jonathan Cameron <jic23@kernel.org>
Cc: "Joel Stanley" <joel@jms.id.au>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Andreas Klinger" <ak@it-klinger.de>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Nuno Sá" <nuno.sa@analog.com>,
linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 01/10] iio: adc: aspeed_adc: use devm_regulator_get_enable_read_voltage()
Date: Mon, 24 Jun 2024 09:58:17 +0930 [thread overview]
Message-ID: <b522733009008a22dd8975a92ad6d0b1c038c452.camel@codeconstruct.com.au> (raw)
In-Reply-To: <20240621-iio-regulator-refactor-round-2-v1-1-49e50cd0b99a@baylibre.com>
On Fri, 2024-06-21 at 17:11 -0500, David Lechner wrote:
> This makes use of the devm_regulator_get_enable_read_voltage() helper
> function to simplify the code.
>
> The error return is moved closer to the function call to make it easier
> to follow the logic. And a few blank lines are added for readability.
>
> Signed-off-by: David Lechner <dlechner@baylibre.com>
Nice cleanup!
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
next prev parent reply other threads:[~2024-06-24 0:29 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-21 22:11 [PATCH 00/10] iio: use devm_regulator_get_enable_read_voltage round 2 David Lechner
2024-06-21 22:11 ` [PATCH 01/10] iio: adc: aspeed_adc: use devm_regulator_get_enable_read_voltage() David Lechner
2024-06-24 0:28 ` Andrew Jeffery [this message]
2024-06-21 22:11 ` [PATCH 02/10] iio: adc: hx711: " David Lechner
2024-06-24 6:03 ` Andreas Klinger
2024-06-21 22:11 ` [PATCH 03/10] iio: adc: hx711: remove hx711_remove() David Lechner
2024-06-24 6:04 ` Andreas Klinger
2024-06-21 22:11 ` [PATCH 04/10] iio: adc: hx711: use dev_err_probe() David Lechner
2024-06-24 6:05 ` Andreas Klinger
2024-06-21 22:11 ` [PATCH 05/10] iio: adc: ltc2309: use devm_regulator_get_enable_read_voltage() David Lechner
2024-06-24 8:14 ` Nuno Sá
2024-06-21 22:11 ` [PATCH 06/10] iio: adc: max1363: " David Lechner
2024-06-24 8:16 ` Nuno Sá
2024-06-21 22:11 ` [PATCH 07/10] iio: adc: ti-adc108s102: " David Lechner
2024-06-21 22:11 ` [PATCH 08/10] iio: adc: ti-ads8688: " David Lechner
2024-06-21 22:11 ` [PATCH 09/10] iio: adc: ti-ads8688: drop ads8688_remove() David Lechner
2024-06-21 22:11 ` [PATCH 10/10] iio: dac: ad3552r: use devm_regulator_get_enable_read_voltage() David Lechner
2024-06-24 8:18 ` Nuno Sá
2024-06-23 10:12 ` [PATCH 00/10] iio: use devm_regulator_get_enable_read_voltage round 2 Jonathan Cameron
2024-06-24 19:34 ` Jonathan Cameron
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=b522733009008a22dd8975a92ad6d0b1c038c452.camel@codeconstruct.com.au \
--to=andrew@codeconstruct.com.au \
--cc=Michael.Hennerich@analog.com \
--cc=ak@it-klinger.de \
--cc=broonie@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=joel@jms.id.au \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.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;
as well as URLs for NNTP newsgroup(s).