hw/ide/ahci: Rename AHCI PCI function as 'pdev'
commit41c05b41e3b3c5b6b167c315d0f25eb355dcc326
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 13 Feb 2024 07:30:00 +0000 (13 08:30 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 15 Feb 2024 15:58:46 +0000 (15 16:58 +0100)
tree8d1f975f3e854949b7b30c2e4939203a896a1bf4
parentd407be0877d8397218c6b79e5ad8b25267f6f5f1
hw/ide/ahci: Rename AHCI PCI function as 'pdev'

We want to access AHCIPCIState::ahci field. In order to keep
the code simple (avoiding &ahci->ahci), rename the current
'ahci' variable as 'pdev'

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240213081201.78951-4-philmd@linaro.org>
hw/i386/pc_q35.c
hw/mips/boston.c