summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-02-12 15:24:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-07 03:15:03 +0100
commit722ccf416ac2804cdb9b5c84e81524fab775a577 (patch)
tree42c8497180440a599697cd6b41327ecb4f815b30 /include/linux/platform_data
parentc89b73703ea3e61ab233560d2c6c4fc0963111dc (diff)
downloadcachepc-linux-722ccf416ac2804cdb9b5c84e81524fab775a577.tar.gz
cachepc-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 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions