hw/ide: Rename ide_register_restart_cb -> ide_bus_register_restart_cb
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 14 Feb 2023 15:33:38 +0000 (16:33 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (22:29 +0100)
commite29b124610f9b92c315e4655f52dec36d23de247
tree5821851e4fad35be4f4bb03f3b84207b93b8679a
parentb6a5ab27fbc42731877b0297062dccd4239874ff
hw/ide: Rename ide_register_restart_cb -> ide_bus_register_restart_cb

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

Mechanical change using:

  $ sed -i -e 's/ide_register_restart_cb/ide_bus_register_restart_cb/g' \
    $(git grep -l ide_register_restart_cb)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-13-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/ide/ahci.c
hw/ide/cmd646.c
hw/ide/core.c
hw/ide/isa.c
hw/ide/piix.c
hw/ide/sii3112.c
hw/ide/via.c
include/hw/ide/internal.h