]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hid: intel-ish-hid: Use PCI_DEVICE_DATA() macro for ISH device table
authorZhang Lixu <lixu.zhang@intel.com>
Tue, 10 Jun 2025 02:01:31 +0000 (10:01 +0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 10 Jun 2025 19:54:25 +0000 (21:54 +0200)
commit0e97f5b6a0808fa2ea865280708511c817d4bca3
treea4c2fb766c64ba45fe39bed5a90066078f63ba7a
parent9327e3ee5b077c4ab4495a09b67624f670ed88b6
hid: intel-ish-hid: Use PCI_DEVICE_DATA() macro for ISH device table

Replace the usage of PCI_VDEVICE() with driver_data assignment in the ISH
PCI device table with the PCI_DEVICE_DATA() macro. This improves code
readability.

Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-ish-hid/ipc/pci-ish.c