PCI: pciehp: Declare pciehp_unconfigure_device() void
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Jul 2018 22:27:36 +0000 (17:27 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 23 Jul 2018 22:04:11 +0000 (17:04 -0500)
commit1d2e2673dc5b9b374513fd58d5909f0332b47407
treebfc27b8d94545a86c7d152bdc920622256f0d332
parent6641311df92d171648faeede6ec9ec612d32d15b
PCI: pciehp: Declare pciehp_unconfigure_device() void

Since commit 0f4bd8014db5 ("PCI: hotplug: Drop checking of PCI_BRIDGE_
CONTROL in *_unconfigure_device()"), pciehp_unconfigure_device() can no
longer fail, so declare it and its sole caller remove_board() void, in
keeping with the usual kernel pattern that enablement can fail, but
disablement cannot.  No functional change intended.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_pci.c