serial: 8250_pci: Replace custom code with pci_match_id()
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 24 Jan 2019 21:51:22 +0000 (23:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Feb 2019 08:55:50 +0000 (09:55 +0100)
commit54b2f300f3862ae57c78f9c080f86b973cf2d8b1
tree3ed820590183f9288cef6e3918ed87947e5d805e
parentc744ca39f28f9a1e94a62ba02483619925d25ddc
serial: 8250_pci: Replace custom code with pci_match_id()

serial_pci_is_blacklisted() is very similar to pci_match_id() implementation.
Replace it with the latter.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c