Skip to content
Commit 4f092fec authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarRajat Jain <rajatja@google.com>
Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
parent d49eccb3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment