clock: Remove clock_get_ns()
commitde6a65f11d7e5a2a93f2b75c0d434ab6ed7f68c8
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Dec 2020 15:09:28 +0000 (15 15:09 +0000)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 4 Jan 2021 22:24:44 +0000 (4 23:24 +0100)
treeeda8b610ef97a0cec2c25aa05535c00104a0f417
parent0ac1fb256742f665449c3dd02dd0ed7a5112cea1
clock: Remove clock_get_ns()

Remove the now-unused clock_get_ns() API and the CLOCK_PERIOD_TO_NS()
macro that only it was using.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201215150929.30311-4-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
docs/devel/clocks.rst
include/hw/clock.h