serial: 8250_pxa: Switch to use platform_get_irq()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Jun 2020 12:27:44 +0000 (15:27 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jun 2020 14:12:56 +0000 (16:12 +0200)
commite914072cacb60c48f20c240ebe28414b8fbbf135
tree568e5cb1a270e97d7f9851e8aea94c1fe1b98f3b
parent9167cc78bd3f615f0df03859b2aae668ba8f8cec
serial: 8250_pxa: Switch to use platform_get_irq()

platform_get_irq() provides an established error code and error message.
Also, it's better to use dedicated API to retrieve Linux IRQ resource.

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