OSDN Git Service

serial: replace serial_exit_core() with unrealize
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 21 Oct 2019 23:14:43 +0000 (01:14 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 12:50:48 +0000 (16:50 +0400)
commitb9975000a008c5b0801e3d24ed113a1bd2767ed5
treed2b17e8a550c5de7ebd0cb018a77410e4ebd4493
parentc9808d602813bce4fada7bf9ecc463aa779b73f7
serial: replace serial_exit_core() with unrealize

Instead of calling serial_exit_core() directly, use the QDev unrealize
callback.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/char/serial-pci-multi.c
hw/char/serial-pci.c
hw/char/serial.c
include/hw/char/serial.h