]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: 8250_pci: Resolve WCH vendor ID ambiguity
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 Dec 2024 03:09:21 +0000 (05:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2024 15:42:55 +0000 (16:42 +0100)
commit16076ca3a1565491bcb28689e555d569a39391c7
treefb48ea9bd461639b629ce2ed4644d713bafa5ae2
parent5a6a3b0a526838d11afaa3f27501d7804faf3743
serial: 8250_pci: Resolve WCH vendor ID ambiguity

There are two sites of the same brand: wch.cn and wch-ic.com.
They are property of the same company, but it appears that they
managed to get two different PCI vendor IDs. Rename them accordingly
using standard pattern, i.e. PCI_VENDOR_ID_...

While at it, move to PCI_VDEVICE() in the ID tables.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241204031114.1029882-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c