From: Uwe Kleine-König Date: Thu, 12 Feb 2015 14:24:38 +0000 (+0100) Subject: serial: atmel: fix error handling when mctrl_gpio_init fails X-Git-Tag: omap-for-v4.2/o2_dc~64^2~77^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722ccf416ac2804cdb9b5c84e81524fab775a577;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed