Centos-kernel-stream-9/drivers/i2c
David Arcari 0dc604714f i2c: i801: Remove unnecessary PCI function call
JIRA: https://issues.redhat.com/browse/RHEL-47426

commit 65cba48d295216d0636ee835631142099374d905
Author: Philipp Stanner <pstanner@redhat.com>
Date:   Thu Nov 21 20:56:25 2024 +0100

    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>

Signed-off-by: David Arcari <darcari@redhat.com>
2025-03-24 08:55:29 -04:00
..
algos
busses i2c: i801: Remove unnecessary PCI function call 2025-03-24 08:55:29 -04:00
muxes
Kconfig
Makefile
i2c-boardinfo.c
i2c-core-acpi.c
i2c-core-base.c i2c: Add i2c_get_match_data() 2024-04-25 00:12:02 -03:00
i2c-core-of.c treewide: Fix probing of devices in DT overlays 2024-05-30 04:25:29 -04:00
i2c-core-slave.c
i2c-core-smbus.c
i2c-core.h i2c: core: Fix atomic xfer check for non-preempt config 2024-05-22 20:55:36 -04:00
i2c-dev.c i2c: dev: copy userspace array safely 2024-05-22 17:58:45 -04:00
i2c-mux.c
i2c-slave-eeprom.c
i2c-slave-testunit.c
i2c-smbus.c i2c: smbus: Support DDR5 and LPDDR5 SPD EEPROMs 2024-07-17 15:49:25 -04:00
i2c-stub.c