summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPhilipp Stanner <pstanner@redhat.com>2024-11-21 20:56:25 +0100
committerAndi Shyti <andi.shyti@kernel.org>2025-01-09 16:40:10 +0100
commit65cba48d295216d0636ee835631142099374d905 (patch)
tree0d7c8d4b11e108836daa6239c2dc86343c44ecf8 /tools/perf/scripts/python/export-to-postgresql.py
parent4262df2a69c32a0bce87d75342f6f8e3a535d7cb (diff)
i2c: i801: Remove unnecessary PCI function call
Since the changes in commit f748a07a0b64 ("PCI: Remove legacy pcim_release()") all pcim_enable_device() does is set up a callback that disables the device from being disabled from driver detach. The function pcim_pin_device() prevents said disabling. pcim_enable_device(), therefore, sets up an action that is removed immediately afterwards by pcim_pin_device(). Replace pcim_enable_device() with pci_enable_device() and remove the unnecessary call to pcim_pin_device(). Signed-off-by: Philipp Stanner <pstanner@redhat.com> Link: https://lore.kernel.org/r/20241121195624.144839-2-pstanner@redhat.com Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions