serial: earlycon: Ignore parse_options() error code
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 9 Mar 2015 20:27:18 +0000 (16:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 15:17:56 +0000 (16:17 +0100)
commit526ebc3f56491fe971cd2b51cfc859a879e11e93
treef1fcbf5691e867d5a9644cb2f10577c530ac38e7
parentcd385e9a2a2daa7e74003f930886e4c1cdf032f4
serial: earlycon: Ignore parse_options() error code

Because setup_earlycon() continues to attempt console registration
if an error occurred parsing the option string, the actual value of
the error code from parse_options() is ignored.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/earlycon.c