Re: [PATCH] HID: intel-thc-hid: Remove deprecated PCI API calls

From: Jiri Kosina
Date: Fri Feb 07 2025 - 07:49:41 EST


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@xxxxxxxxxx>
> ---
> 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