Re: [PATCH v2 8/8] iio: accel: adxl372: Use dev_err_probe
From: Cosmin Tanislav
Date: Sat Apr 18 2026 - 03:02:25 EST
On 4/17/26 10:20 PM, Sanjay Chitroda wrote:
>
>
> On 17 April 2026 6:19:24 pm IST, Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx> wrote:
>> From: Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx>
>>
>> dev_err_probe() makes error code handling simpler and handles
>> deferred probe nicely (avoid spamming logs).
>>
>> Signed-off-by: Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx>
>> ---
>> drivers/iio/accel/adxl372.c | 6 ++----
>> 1 file changed, 2 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/iio/accel/adxl372.c b/drivers/iio/accel/adxl372.c
>> index 1a6ba94f54f4..e375d068a3f5 100644
>> --- a/drivers/iio/accel/adxl372.c
>> +++ b/drivers/iio/accel/adxl372.c
>> @@ -1316,10 +1316,8 @@ int adxl372_probe(struct device *dev, struct regmap *regmap,
>> }
>>
>> ret = adxl372_setup(st);
>> - if (ret < 0) {
>> - dev_err(dev, "ADXL372 setup failed\n");
>> - return ret;
>> - }
>> + if (ret < 0)
>> + return dev_err_probe(dev, ret, "ADXL372 setup failed\n");
>>
>> if (chip_info->fifo_supported) {
>> ret = adxl372_buffer_setup(indio_dev);
>
> Hi Cosmin,
>
> Your email address listed in MAINTAINERS (cosmin.tanislav@xxxxxxxxxx) appears to be bouncing.
>
> I noticed recent commits from you using cosmin-gabriel.tanislav.xa@xxxxxxxxxxx and demonsingur@xxxxxxxxx, so I plan to update the entry accordingly.
>
> Could you please confirm whether you are still maintaining this subsystem with renesas/gmail account ?
>
Hi.
Someone at Analog should be taking over as maintainer, I don't work for
Analog anymore.
CC: Nuno
> Thanks,
> Sanjay Chitroda