Thread (20 messages) 20 messages, 5 authors, 2024-06-24

Re: [PATCH 01/10] iio: adc: aspeed_adc: use devm_regulator_get_enable_read_voltage()

From: Andrew Jeffery <andrew@codeconstruct.com.au>
Date: 2024-06-24 00:38:11
Also in: linux-aspeed, linux-iio, lkml

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>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help