diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-02-12 15:24:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-07 03:15:03 +0100 |
commit | 722ccf416ac2804cdb9b5c84e81524fab775a577 (patch) | |
tree | 42c8497180440a599697cd6b41327ecb4f815b30 /drivers/tty/serial/vt8500_serial.c | |
parent | tty: max3100: use msecs_to_jiffies for time conversion (diff) | |
download | linux-722ccf416ac2804cdb9b5c84e81524fab775a577.tar.xz linux-722ccf416ac2804cdb9b5c84e81524fab775a577.zip |
serial: atmel: fix error handling when mctrl_gpio_init fails
mctrl_gpio_init at present doesn't return NULL. (It might be used in the
future when no gpios are to be used indicating success.) Properly pass
error returned and also make driver probing fail on error.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/vt8500_serial.c')
0 files changed, 0 insertions, 0 deletions