hw/rtc/m48t59-isa: QOM'ify IRQ number
commite89d9fa385c040135a2bce94588dbbd2f7e8e55f
authorBernhard Beschow <shentey@gmail.com>
Tue, 1 Mar 2022 22:00:32 +0000 (1 23:00 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 8 Mar 2022 18:38:17 +0000 (8 19:38 +0100)
tree352f870ca74ee176c35d14986b6b290981792b47
parent3b004a16540aa41f2aa6a1ceb0bf306716766914
hw/rtc/m48t59-isa: QOM'ify IRQ number

Exposing the IRQ number as a QOM property not only allows it to be
configurable but also to be printed by standard QOM mechanisms. This allows
isabus_dev_print() to be retired eventually.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220301220037.76555-3-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220307134353.1950-10-philippe.mathieu.daude@gmail.com>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
hw/rtc/m48t59-isa.c