On 7/4/23 16:50, Philippe Mathieu-Daudé wrote:
QDev models often use foo_new() as the combination of
foo_init() + foo_realize(). Here arm_timer_init() is
a such combination, so rename it as arm_timer_new() to
emphasis the returned device is already realized.
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
Reviewed-by: Peter Maydell<[email protected]>
---
hw/timer/arm_timer.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~