Re: [PATCH] HID: intel-thc-hid: Remove deprecated PCI API calls
From: Jiri Kosina <jikos@kernel.org>
Date: 2025-02-07 12:49:13
Also in:
linux-pci, lkml
From: Jiri Kosina <jikos@kernel.org>
Date: 2025-02-07 12:49:13
Also in:
linux-pci, lkml
On Tue, 28 Jan 2025, Philipp Stanner wrote:
intel-thc-hid reintroduced the already deprecated PCI API functions
pcim_iomap_table(),
pcim_iomap_regions(),
pcim_iounmap_regions(),
none of which should be used anymore.
Furthermore, calling managed (pcim_*) functions in remove() and probe()
for cleanup is not necessary, since the managed functions clean up
automatically.
Replace / remove the deprecated functions.
Fixes: 61bb2714dc3a1 ("HID: intel-thc-hid: intel-quicki2c: Add THC QuickI2C driver skeleton")
Signed-off-by: Philipp Stanner <phasta@kernel.org>
---
Hi,
I'm trying to remove this API since a year. Please pay attention to the
docstrings in PCI which mark certain functions as deprecated.Applied, thanks. -- Jiri Kosina SUSE Labs