hw/timer/npcm7xx_timer: Use new clock_ns_to_ticks()
commitc7db11b0992f8d97107ec30139ffe1a09559c77e
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2021 14:45:37 +0000 (19 14:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Mar 2021 17:20:01 +0000 (8 17:20 +0000)
treea63be52dee8f943a455a5c9e4d1979859088a615
parentcd3a53b727d2f86e9db795cee69cc142332ca079
hw/timer/npcm7xx_timer: Use new clock_ns_to_ticks()

Use the new clock_ns_to_ticks() function in npcm7xx_timer where
appropriate.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210219144617.4782-5-peter.maydell@linaro.org
hw/timer/npcm7xx_timer.c