serdev: Split and export serdev_acpi_get_uart_resource()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 6 Aug 2021 11:17:35 +0000 (14:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Aug 2021 07:12:53 +0000 (09:12 +0200)
commit0a732d7dfb44da367405b23a54b305d0979e02c1
tree0e6b8779f7e21a5b6a42c52d33a5bdd06b061098
parent217b04c67b6bca03a484bf8cad44596a34a9de4c
serdev: Split and export serdev_acpi_get_uart_resource()

The same as for I²C Serial Bus resource split and export
serdev_acpi_get_uart_resource(). We have already a few users
one of which is converted here.

Rationale of this is to consolidate parsing UART Serial Bus
resource in one place as it's done, e.g., for I²C Serial Bus.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210806111736.66591-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serdev/core.c
include/linux/serdev.h