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

From: Bjorn Helgaas
Date: Tue Jan 28 2025 - 10:58:36 EST


On Tue, Jan 28, 2025 at 11:11:57AM +0100, 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.
> ...

> I'm trying to remove this API since a year. Please pay attention to the
> docstrings in PCI which mark certain functions as deprecated.

If you don't use it already, lei is a great tool that can help watch
for things like this:
https://people.kernel.org/monsieuricon/lore-lei-part-1-getting-started

Or lore queries along this line:
https://lore.kernel.org/all/?q=rt%3A1.month.ago..+dfb%3Apcim_iomap_table