parport: serial: Retrieve IRQ vector with help of special getter
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 21 Jul 2021 15:02:16 +0000 (18:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jul 2021 15:08:40 +0000 (17:08 +0200)
commitfa11c81ce2a19b30af2fc16d3958efece4fd56d0
tree5f8b59581519f075aa1dfa74b4a4ce710db9400c
parent09b18f2f3be256cc32eff028a9416a2ae19d5487
parport: serial: Retrieve IRQ vector with help of special getter

pci_irq_vector() may be used to retrieve IRQ vector for a PCI device.
Use it instead of direct access.

Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210721150216.64823-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_serial.c