ide: Rename ide_bus_new() to ide_bus_init()
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 23 Sep 2021 12:11:53 +0000 (13:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Sep 2021 12:44:13 +0000 (13:44 +0100)
commit82c74ac42e1b9e564a3c011dca6215d130b7e6a0
tree0ad96f7e11a6b969d975075c0097efc92a8e9209
parent9388d1701efa87095d31ed5f68793dfc82cdd47e
ide: Rename ide_bus_new() to ide_bus_init()

The function ide_bus_new() does an in-place initialization.  Rename
it to ide_bus_init() to follow our _init vs _new convention.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Acked-by: John Snow <jsnow@redhat.com> (Feel free to merge.)
Message-id: 20210923121153.23754-7-peter.maydell@linaro.org
hw/ide/ahci.c
hw/ide/cmd646.c
hw/ide/isa.c
hw/ide/macio.c
hw/ide/microdrive.c
hw/ide/mmio.c
hw/ide/piix.c
hw/ide/qdev.c
hw/ide/sii3112.c
hw/ide/via.c
include/hw/ide/internal.h