This patchset is inspired by Philippe's "hw/rtc/m48t59: Simplify m48t59_init()" patchset at https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg04493.html but goes further: rather than tidy-up the legacy init functions, convert the callers to use qdev properties directly so they can simply be removed.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> Mark Cave-Ayland (5): m48t59-isa: remove legacy m48t59_init_isa() function sun4m: use qdev properties instead of legacy m48t59_init() function sun4u: use qdev properties instead of legacy m48t59_init() function ppc405_boards: use qdev properties instead of legacy m48t59_init() function m48t59: remove legacy m48t59_init() function hw/ppc/ppc405_boards.c | 10 +++++++++- hw/rtc/m48t59-isa.c | 25 ------------------------- hw/rtc/m48t59.c | 35 ----------------------------------- hw/sparc/sun4m.c | 8 +++++++- hw/sparc64/sun4u.c | 7 +++++-- include/hw/rtc/m48t59.h | 6 ------ 6 files changed, 21 insertions(+), 70 deletions(-) -- 2.20.1