diff options
author | Peter Maydell | 2021-09-23 14:11:49 +0200 |
---|---|---|
committer | Peter Maydell | 2021-09-30 14:42:10 +0200 |
commit | 43417c0c27fd0851707a1f3bf50244d24aeeaf82 (patch) | |
tree | 2afea81033c2b17fa6498b9540197945b93a16a6 /hw/s390x/css-bridge.c | |
parent | scsi: Replace scsi_bus_new() with scsi_bus_init(), scsi_bus_init_named() (diff) | |
download | qemu-43417c0c27fd0851707a1f3bf50244d24aeeaf82.tar.gz qemu-43417c0c27fd0851707a1f3bf50244d24aeeaf82.tar.xz qemu-43417c0c27fd0851707a1f3bf50244d24aeeaf82.zip |
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
Diffstat (limited to 'hw/s390x/css-bridge.c')
0 files changed, 0 insertions, 0 deletions