Re: [PATCH v3 6/6] iio: adc: ti-ads7950: complete conversion to using managed resources

From: David Lechner

Date: Sat Mar 07 2026 - 12:50:25 EST


On 3/5/26 1:21 PM, Dmitry Torokhov wrote:
> All resources that the driver needs have managed API now. Switch to
> using them to make code clearer and drop ti_ads7950_remove().
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---

...

> @@ -577,26 +575,22 @@ static int ti_ads7950_probe(struct spi_device *spi)
> else
> st->vref_mv = ret / 1000;
>
> - mutex_init(&st->slock);

With this accidental removal fixed:

Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>