]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: intel-thc-hid: Remove deprecated PCI API calls
authorPhilipp Stanner <phasta@kernel.org>
Tue, 28 Jan 2025 10:11:57 +0000 (11:11 +0100)
committerJiri Kosina <jkosina@suse.com>
Fri, 7 Feb 2025 12:48:35 +0000 (13:48 +0100)
commit03dcede2199a649c1190a135aaf6c70af4ed5a28
tree9b4e91c04a81545b34b965b7e70217aff72ea074
parent27c02784773a69fd896e42f3cec73be8c5c83c1f
HID: intel-thc-hid: Remove deprecated PCI API calls

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>
Reviewed-by: Even Xu <even.xu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c