summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2020-09-14 07:34:16 -0700
committerPeter Zijlstra <peterz@infradead.org>2020-09-24 15:55:50 +0200
commit8ed2ccaa3fa990be61619a61b9bc3914eefdc18f (patch)
tree12599558877fc8daac5e6f12db9a6403d2ba898b /drivers/fpga/fpga-bridge.c
parentfe6507338d635f283e9618b5eaa35f503a8c375b (diff)
perf/x86/intel/uncore: Factor out uncore_pci_find_dev_pmu()
When an uncore PCI sub driver gets a remove notification, the corresponding PMU has to be retrieved and unregistered. The codes, which find the corresponding PMU by comparing the pci_device_id table, can be shared. Factor out uncore_pci_find_dev_pmu(), which will be used later. There is no functional change. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/1600094060-82746-3-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions