(subset) [PATCH] leds: sun50i-a100: Replace msleep() with usleep_range()
Lee Jones
lee at kernel.org
Thu Aug 22 03:39:54 PDT 2024
On Fri, 16 Aug 2024 22:41:29 +0530, Abhishek Tamboli wrote:
> Replace msleep() with usleep_range() in sun50i_a100_ledc_suspend()
> to address the checkpatch.pl warning. msleep() for such short delay
> can lead to inaccurate sleep times. Switch to usleep_range()
> provide more precise delay.
>
> Fix the following warning from checkpatch.pl:
>
> [...]
Applied, thanks!
[1/1] leds: sun50i-a100: Replace msleep() with usleep_range()
commit: 8f3f07517834382e819e168740bf855273f13d47
--
Lee Jones [李琼斯]
More information about the linux-arm-kernel
mailing list