]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hwrng: timeriomem - Use us_to_ktime() where appropriate
authorXichao Zhao <zhao.xichao@vivo.com>
Thu, 31 Jul 2025 12:17:27 +0000 (20:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 16 Aug 2025 09:24:31 +0000 (17:24 +0800)
commit817fcdbd4ca29834014a5dadbe8e11efeb12800c
treeebd64e18056fe259549df905a48ca0c1ca32175e
parentefaa2d815a0e4d1c06750e587100f6f7f4ee5497
hwrng: timeriomem - Use us_to_ktime() where appropriate

It is better to replace ns_to_ktime() with us_to_ktime(),
which can make the code clearer.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/timeriomem-rng.c