From: Uwe Kleine-König Date: Wed, 14 Dec 2011 20:26:51 +0000 (+0100) Subject: serial/imx: propagate error from of_alias_get_id instead of using -ENODEV X-Git-Tag: v3.3-rc1~154^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a197a191f73a75d80d5b67e09e0b89c214dc3690;p=pandora-kernel.git serial/imx: propagate error from of_alias_get_id instead of using -ENODEV 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 Cc: Shawn Guo Cc: Alan Cox Cc: Grant Likely Cc: Jeremy Kerr Cc: Jason Liu Cc: Sascha Hauer Acked-by: Jason Liu Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed