OSDN Git Service

pci/shpc: rename hotplug handler callbacks
authorDavid Hildenbrand <david@redhat.com>
Wed, 12 Dec 2018 09:16:14 +0000 (10:16 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 20 Dec 2018 16:19:12 +0000 (11:19 -0500)
commit851fedfbc514f33d867718febf45bf90c9bed341
tree5f364702bc40c15702ecddabd6e07418013ee711
parent5571727a6368bd23d751336e261eaf1b32dd472d
pci/shpc: rename hotplug handler callbacks

The callbacks are also called for cold plugged devices. Drop the "hot"
to better match the actual callback names.

While at it, also rename shpc_device_hotplug_common() to
shpc_device_plug_common().

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-bridge/pci_bridge_dev.c
hw/pci-bridge/pcie_pci_bridge.c
hw/pci/shpc.c
include/hw/pci/shpc.h