[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240328142157.2165dc5d@jic23-huawei>
Date: Thu, 28 Mar 2024 14:21:57 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Jonathan Corbet <corbet@....net>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Jean Delvare <jdelvare@...e.com>, Guenter
Roeck <linux@...ck-us.net>, Support Opensource
<support.opensource@...semi.com>, Cosmin Tanislav
<cosmin.tanislav@...log.com>, Lars-Peter Clausen <lars@...afoo.de>, Michael
Hennerich <Michael.Hennerich@...log.com>, Antoniu Miclaus
<antoniu.miclaus@...log.com>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>, Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hwmon@...r.kernel.org, linux-iio@...r.kernel.org,
linux-staging@...ts.linux.dev, linux-input@...r.kernel.org
Subject: Re: [PATCH RFC 7/7] Input: mpr121: Use
devm_regulator_get_enable_get_voltage()
On Wed, 27 Mar 2024 18:18:56 -0500
David Lechner <dlechner@...libre.com> wrote:
> We can reduce boilerplate code by using
> devm_regulator_get_enable_get_voltage().
>
> Signed-off-by: David Lechner <dlechner@...libre.com>
LGTM though you may want to bring an error message back if you drop the
prints from the regulator functions.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
Powered by blists - more mailing lists