[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231120103920.GI32655@ediswmail.ad.cirrus.com>
Date: Mon, 20 Nov 2023 10:39:20 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Maciej Strozek <mstrozek@...nsource.cirrus.com>
CC: Lee Jones <lee@...nel.org>, <patches@...nsource.cirrus.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] mfd: wm831x: Remove redundant forever while loop
On Mon, Nov 20, 2023 at 10:22:59AM +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@...nsource.cirrus.com>
> ---
Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Thanks,
Charles
Powered by blists - more mailing lists