[PATCH] serial/imx: propagate error from of_alias_get_id instead of using -ENODEV

Shawn Guo shawn.guo at freescale.com
Sun Dec 25 20:55:44 EST 2011


On Wed, Dec 14, 2011 at 09:26:51PM +0100, Uwe Kleine-König wrote:
> A quick look at of_alias_get_id shows that in the error case it returns
> -ENODEV, too, but still it's better style to propagate the value as is.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> Cc: Shawn Guo <shawn.guo at linaro.org>
> Cc: Alan Cox <alan at linux.intel.com>
> Cc: Grant Likely <grant.likely at secretlab.ca>
> Cc: Jeremy Kerr <jeremy.kerr at canonical.com>
> Cc: Jason Liu <jason.hui at linaro.org>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>

I queued this for 3.3, and will send a pull-request to Greg.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list