]> git.proxmox.com Git - mirror_qemu.git/commit
ipack: Rename ipack_bus_new_inplace() to ipack_bus_init()
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 23 Sep 2021 12:11:49 +0000 (13:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Sep 2021 12:42:10 +0000 (13:42 +0100)
commit43417c0c27fd0851707a1f3bf50244d24aeeaf82
tree2afea81033c2b17fa6498b9540197945b93a16a6
parent739e95f5741b8efd74331bb74b9446bcb5ede71e
ipack: Rename ipack_bus_new_inplace() to ipack_bus_init()

Rename ipack_bus_new_inplace() to ipack_bus_init(), to bring it in to
line with a "_init for in-place init, _new for allocate-and-return"
convention.  Drop the 'name' argument, because the only caller does
not pass in a name.  If a future caller does need to specify the bus
name, we should create an ipack_bus_init_named() function at that
point.

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>
Message-id: 20210923121153.23754-3-peter.maydell@linaro.org
hw/ipack/ipack.c
hw/ipack/tpci200.c
include/hw/ipack/ipack.h