]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: can: ctucanfd: remove useless copy of PCI_DEVICE_DATA macro
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Fri, 30 Jan 2026 11:41:33 +0000 (03:41 -0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 1 Apr 2026 07:27:58 +0000 (09:27 +0200)
commit1e41cbbe68e6753e786ddff528de15050bc52803
treee826a197e1929324bac5b9d557db45349034e468
parentf1359c240191e686614847905fc861cbda480b47
net: can: ctucanfd: remove useless copy of PCI_DEVICE_DATA macro

The ctucanfd driver has its own copy of the PCI_DEVICE_DATA macro. I
assume this was done to support older kernel versions where it didn't
exist, but that is irrelevant once the driver is in the mainline
kernel. Remove it.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Link: https://patch.msgid.link/20260130114134.47421-1-enelsonmoore@gmail.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/ctucanfd/ctucanfd_pci.c