]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46422b269719f780ad9a9e752fad3a6e15d2f45d
tree3ed820590183f9288cef6e3918ed87947e5d805e
parent800572032c63a87d2eef4fd1ce21fb92a2adb033
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