Re: [RESEND PATCH v3] mfd: wm831x: Remove redundant forever while loop

From: Charles Keepax
Date: Wed Jan 24 2024 - 06:03:19 EST


On Tue, Jan 23, 2024 at 03:42:59PM +0000, Maciej Strozek wrote:
> Current code excutes only once despite the while loop, so remove the
> loop. Also msleep(1) will likely result in a larger sleep, so increase
> its value for clarity while keeping the same behaviour.
>
> Signed-off-by: Maciej Strozek <mstrozek@xxxxxxxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles