]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
serial: sunzilog: Return proper error code from console ->setup() hook
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Jun 2020 16:47:48 +0000 (19:47 +0300)
committerPetr Mladek <pmladek@suse.com>
Thu, 25 Jun 2020 12:22:17 +0000 (14:22 +0200)
commit8629d2744d888cc31cb0ad14c9f222c14165f75e
tree240bd0b41603cf50ea11bfd038d89bdcf9165e62
parentf85956b7a29d39745d16ebb6fb81c663018beab1
serial: sunzilog: Return proper error code from console ->setup() hook

For unifying console ->setup() handling, which is poorly documented,
return error code, rather than non-zero arbitrary number.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200618164751.56828-4-andriy.shevchenko@linux.intel.com
drivers/tty/serial/sunzilog.c