Re: [PATCH v2 2/8] iio: accel: adxl313: Use dev_err_probe
From: Andy Shevchenko
Date: Fri Apr 17 2026 - 20:15:46 EST
On Sat, Apr 18, 2026 at 12:17:34AM +0530, Sanjay Chitroda wrote:
> On 18 April 2026 12:05:59 am IST, Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> >On Fri, Apr 17, 2026 at 06:19:18PM +0530, Sanjay Chitroda wrote:
...
> >> + return adxl313_core_probe(dev, regmap,
> >> chip_data, &adxl313_spi_setup);
> >
> >Now it may be a single line.
> >
>
> It was the single line, length is reduced.
>
> dev_err() was multi line in few driver; however with your input on dev
> dev_err_probe(dev, ...) become single line.
I haven't commented on that one, I left the line I commented on above.
And I have checked, it's perfectly fits 80 characters.
--
With Best Regards,
Andy Shevchenko