staging: r8188eu: use kernel functions for timeout handling
authorMartin Kaiser <martin@kaiser.cx>
Wed, 13 Apr 2022 19:36:51 +0000 (21:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Apr 2022 07:06:59 +0000 (09:06 +0200)
commit3b9d0da6aa08a34426489b2836d2f63ab7bc2051
tree0278e047aa7b6d5b4a2a144a817495811a23c344
parent294e69c69c4d4a4e29dda2a0b5a5c11cf53ea7f4
staging: r8188eu: use kernel functions for timeout handling

Use the kernel functions to set a timeout and to check if it's expired.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220413193654.258507-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_pwrctrl.c