hwrng: timeriomem - Use us_to_ktime() where appropriate

[ Upstream commit 817fcdbd4c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Xichao Zhao 2025-07-31 20:17:27 +08:00 • committed by Greg Kroah-Hartman
commit 60c035d2be