hw/isa/pc87312: Consolidate the use of device_class_set_parent_realize()
commitf669bd891475bbdbaf347e12d5e6bdb73a59f058
authorZhao Liu <zhao1.liu@intel.com>
Thu, 1 Feb 2024 08:40:25 +0000 (1 16:40 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 13 Feb 2024 07:59:25 +0000 (13 10:59 +0300)
treea81e236d524f782a4cacb338a340b4037e1d38eb
parent19985792d4fae4c246d595394ef0c67bfc92eef2
hw/isa/pc87312: Consolidate the use of device_class_set_parent_realize()

Use device_class_set_parent_realize() to set parent realize() directly.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/isa/pc87312.c