serial: 8250_pci: use to_pci_dev()
commit30c6c352ce4796f8c9815452db84c78805bbbe10
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 14:29:42 +0000 (27 22:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:51:04 +0000 (6 22:51 -0800)
treeb12b92400830595db4cc1402edfc8285778fba7c
parentff52a9a0c3c64ae33fe65b94733df3a1a6ce1a70
serial: 8250_pci: use to_pci_dev()

Use to_pci_dev() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c