Re: [PATCH 0/3] iio: accel: adxl313: small cleanups and error-handling improvements
From: Andy Shevchenko
Date: Thu Apr 16 2026 - 04:19:08 EST
On Thu, Apr 16, 2026 at 10:46:28AM +0530, Sanjay Chitroda wrote:
>
> This series contains a few small cleanups and robustness improvements
> to the ADXL313 IIO accelerometer driver.
>
> The changes modernize mutex handling using devm-managed helpers and
> guard() to simplify locking logic and improve safety. In addition,
> error handling during probe is cleaned up by switching to dev_err_probe()
> to better handle deferred probing and avoid repeated log noise.
>
> No functional changes are intended.
>
> Testing:
> - Compiled with W=1
> - Build-tested on QEMU x86_64
> Based on:
> <linux-v7.0-rc7>
Use --base instead of this comment (comment may be left untouched, of course,
but --base gives a hint to CIs and other tools.
--
With Best Regards,
Andy Shevchenko