diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-06-18 15:29:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-27 16:12:56 +0200 |
commit | 1b1eef6863cdbf35f1abbe9207da36a8dc71e06e (patch) | |
tree | 6a38b86baaf65cf345eac83b8895c753b0a03bd5 /drivers/tty/moxa.h | |
parent | 451a73c68014528e2e5f80af6c64bcc477b8864a (diff) | |
download | linux-1b1eef6863cdbf35f1abbe9207da36a8dc71e06e.tar.bz2 |
serial: 8250_mtk: 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>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20200618122952.88265-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/moxa.h')
0 files changed, 0 insertions, 0 deletions