OSDN Git Service

hw/ide: Rename ide_create_drive() -> ide_bus_create_drive()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Feb 2023 10:31:51 +0000 (11:31 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commitb6a5ab27fbc42731877b0297062dccd4239874ff
tree81df146f82fedca6958661cdb1248fc9ce2bd579
parent0cfe719d1fa8c34c813c8b51074523893fd15203
hw/ide: Rename ide_create_drive() -> ide_bus_create_drive()

ide_create_drive() operates on a IDEBus; rename it as
ide_bus_create_drive() to emphasize its first argument
is a IDEBus.

Mechanical change using:

  $ sed -i -e 's/ide_create_drive/ide_bus_create_drive/g' \
        $(git grep -wl ide_create_drive)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-12-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/arm/sbsa-ref.c
hw/ide/ahci.c
hw/ide/isa.c
hw/ide/macio.c
hw/ide/microdrive.c
hw/ide/mmio.c
hw/ide/pci.c
hw/ide/qdev.c
include/hw/ide/internal.h