serial: 8250_em: Switch to use platform_get_irq()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Jun 2020 09:51:44 +0000 (12:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jun 2020 14:12:45 +0000 (16:12 +0200)
commit2a1dbd259e631a56784e5f72aebe5d6b2f5c5c87
tree542e090462d0f12556b196208ca16d140b8bbfb0
parent5b36146eac22153f57cf28278bbe8c642533a9be
serial: 8250_em: 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/20200618095144.73852-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_em.c