Re: [PATCH v7 3/6] iio: proximity: rfd77402: Use kernel helper for result polling

From: Andy Shevchenko

Date: Tue Jan 27 2026 - 09:59:22 EST


On Tue, Jan 27, 2026 at 01:02:17AM +0530, Shrikant Raskar via B4 Relay wrote:

> Replace the manually written polling loop with read_poll_timeout(),
> the kernel's standard helper for waiting on hardware status.This
> makes the code easier to read.
>
> Move the polling logic into a dedicated helper function, as it will
> be reused by future updates.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko