]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: 8250_platform: Refactor serial8250_probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Aug 2024 15:47:08 +0000 (18:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2024 06:22:50 +0000 (08:22 +0200)
commitcc04428b2e9ea60b620e5ad5412cfcb2f07f3cd6
tree19948cb16a0c48bd10d8ed4e32ed5a621ce2f992
parent4596d2bd551d847dd7380979f064b17b8d41562e
serial: 8250_platform: Refactor serial8250_probe()

Make it clear that it supports two cases, pure platform device and ACPI.
With this in mind, split serial8250_probe() to two functions and rename
the ACPI case accordingly.

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