serial: clps711x: fail if mctrl_gpio_init fails
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 12 Feb 2015 14:24:39 +0000 (15:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:15:03 +0000 (03:15 +0100)
commitf059a455fc979e0e7f155d98bf628fccab1c5b88
treeaece0e389d34cc08d7ce8173315332ff58f28d06
parent722ccf416ac2804cdb9b5c84e81524fab775a577
serial: clps711x: fail if mctrl_gpio_init fails

mctrl_gpio_init is fully aware of being optional. If it returns an error
code this indicates a real error that must not be ignored.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/clps711x.c