]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: pciehp: Inline the "handle event" functions into the ISR
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 15 Jun 2015 02:35:13 +0000 (21:35 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 18 Jun 2015 21:14:49 +0000 (16:14 -0500)
commit4f092fec67191f899fa111a4eeffdf4368494c77
tree6b449fd8ccd7cafefc0019748881abf875693c63
parentd49eccb3c1a41b847380279d7f88a88421783f37
PCI: pciehp: Inline the "handle event" functions into the ISR

The pciehp_handle_*() functions (pciehp_handle_attention_button(), etc.)
only contain a line or two of useful code, so it's clumsy to put
them in separate functions.  All they so is add an event to a work queue,
and it's clearer to see that directly in the ISR.

Inline them directly into pcie_isr().  No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rajat Jain <rajatja@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c