diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-13 19:50:25 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 15:50:34 +0200 |
| commit | 242b9a9e3df32b9fd6089e01ebdad5a95864ff26 (patch) | |
| tree | c80e5d1dac37fafa5ed970da1a27765964392e5d /include/linux/timerqueue_types.h | |
| parent | 1bb5c324b872c2e71fa1b12a5f59615b994501da (diff) | |
misc: keba: cp500: use pcim_enable_device()
Switch from pci_enable_device() to pcim_enable_device() so the PCI device
is automatically disabled on probe error and driver removal. Drop the now
redundant manual pci_disable_device() and pci_clear_master() calls, since
pcim's release path clears bus mastering and disables the device.
Assisted-by: opencode:hy3-free
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260714025025.2055506-1-rosenp@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
