hw/clock: Let clock_set() return boolean value
commit15aa2876d9c7181c58305430f726461a2f24cb00
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 28 Aug 2020 09:02:44 +0000 (28 10:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 09:02:44 +0000 (28 10:02 +0100)
treea8973f5844cc55b12ac08d46ea2017d616ad3f40
parentbb80ae077ebcc7e0cdc0f7e2ec663896b6103da1
hw/clock: Let clock_set() return boolean value

Let clock_set() return a boolean value whether the clock
has been updated or not.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200806123858.30058-3-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/core/clock.c
include/hw/clock.h