soundhw: unify initialization for ISA and PCI soundhw
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 Apr 2022 10:06:59 +0000 (12:06 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 14 May 2022 10:33:44 +0000 (12:33 +0200)
commitbf521c5655f7f821603d921e6de77e4e05fa44b9
treea2e24a3d5f588e694ebb4a42add224d5addaaf71
parenteef5fdf3d57dccc25505179f717adf636764ba02
soundhw: unify initialization for ISA and PCI soundhw

Use qdev_new instead of distinguishing isa_create_simple/pci_create_simple.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/audio/soundhw.c