]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: 8250_platform: Don't shadow error from serial8250_register_8250_port()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Aug 2024 15:47:04 +0000 (18:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2024 06:22:50 +0000 (08:22 +0200)
commit6586ccd7685bd1550c06ed93e3b11feab9f9d6a6
tree92b43050105b10fb9ffb178f2138781f8efd1597
parentacf7c31def54147964955b61b883d440e0fd1a7f
serial: 8250_platform: Don't shadow error from serial8250_register_8250_port()

Don't shadow error from serial8250_register_8250_port() and return it as is.

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