Re: [PATCH v5 0/4] ti-ads7950: fix gpio handling and facelift

From: Andy Shevchenko

Date: Tue Apr 07 2026 - 08:24:49 EST


On Sun, Apr 05, 2026 at 09:39:22PM -0700, Dmitry Torokhov wrote:
> The original reason for this series is to make sure ti_ads7950_get()
> returns result in range [0, 1] or a negative error code to comply with
> gpiolib requirement.
>
> During review David noticed the fact that the function also clobbers
> gpio state. Fixing that lead to adding cleanups using guard() and devm.

Now the series LGTM,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
Thanks.

--
With Best Regards,
Andy Shevchenko