Re: [PATCH 4/4] iio: magnetometer: ak8975: modernize polling loops with iopoll() macros

From: Joshua Crofts

Date: Tue Apr 21 2026 - 02:20:12 EST


On Mon, 20 Apr 2026 at 19:26, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
> ' != 0' is not needed, but perhaps okay in this case to explicitly hint that
> this is used as boolean conditional.

Yeah, that was my intention, I thought that (...val, val, ...) was a
bit confusing.

> Somebody broke the indentation...
>
> > +
>
> ...and added unneeded blank line.

I should probably just stick to one editor.

> Also, use multipliers from time.h, id est USEC_PER_MSEC.

Will do.

--
Kind regards

CJD