staging: r8188eu: use time_after_eq(a,b) to replace "a>=b"
authorYu Zhe <yuzhe@nfschina.com>
Fri, 26 Aug 2022 02:01:51 +0000 (10:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 15:16:37 +0000 (17:16 +0200)
commit0b599cc63a8e09c067df4ab49af8573c2ce18673
tree8b49323aca4000574b6452f088d24d6ba1b79ea9
parent700f7e2909842a9cb8e98678c2e579a43ac750fd
staging: r8188eu: use time_after_eq(a,b) to replace "a>=b"

time_after_eq() deals with timer wrapping correctly.

Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Link: https://lore.kernel.org/r/20220826020151.10138-1-yuzhe@nfschina.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_pwrctrl.c