mips: Return proper error code from console ->setup() hook
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Jun 2020 16:47:46 +0000 (19:47 +0300)
committerPetr Mladek <pmladek@suse.com>
Thu, 25 Jun 2020 12:20:13 +0000 (14:20 +0200)
commit4fc29e63cc44fe1486b4d8037370a7d74db28999
treefcdaf255d89c5c5f52ba5209a1cb22ee0a65cbe3
parent5c2fb57af0f42550eb718a3b0b445c81ec923895
mips: 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: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200618164751.56828-2-andriy.shevchenko@linux.intel.com
arch/mips/fw/arc/arc_con.c