]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5d76f7848b7fffb4f0cf329fedd3f71451591c2
treebfc27b8d94545a86c7d152bdc920622256f0d332
parent7a9da6118ae6ffa251d9ef5c218f525af6afb20c
PCI: pciehp: Declare pciehp_unconfigure_device() void

Since commit 8242f4681b8e ("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