Re: [PATCH v5 13/18] iio: magnetometer: ak8975: unify return code variable name

From: Jonathan Cameron

Date: Wed May 06 2026 - 12:58:50 EST


On Tue, 05 May 2026 13:46:09 +0200
Joshua Crofts via B4 Relay <devnull+joshua.crofts1.gmail.com@xxxxxxxxxx> wrote:

> From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> In one case 'rc' is used in the other 'err', the most use 'ret'.
> Make the latter use the former, id est 'ret'.
>
> While at it, drop unneeded ' < 0' checks.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Signed-off-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
Applied.