[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aYIRf6j0fXR5NcEK@smile.fi.intel.com>
Date: Tue, 3 Feb 2026 17:17:19 +0200
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
Cc: Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>,
Antoniu Miclaus <antoniu.miclaus@...log.com>,
Andrew Ijano <andrew.ijano@...il.com>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
error27@...il.com
Subject: Re: [PATCH v3 next 2/6] iio: sca3000: reuse device pointer for devm
helpers
On Tue, Feb 03, 2026 at 04:20:46AM -0800, Harshit Mogalapalli wrote:
> Cache struct device *dev and feed it to the devm helpers to simplify
> the probe function. No functional changes.
With or without below being addressed,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...el.com>
...
> - ret = devm_iio_kfifo_buffer_setup(&spi->dev, indio_dev,
> + ret = devm_iio_kfifo_buffer_setup(dev, indio_dev,
> &sca3000_ring_setup_ops);
Now make it a single line, it's just 83 characters.
> if (ret)
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists