Messages in this thread | | | Date | Mon, 26 Dec 2011 09:55:44 +0800 | From | Shawn Guo <> | Subject | Re: [PATCH] serial/imx: propagate error from of_alias_get_id instead of using -ENODEV |
| |
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@pengutronix.de> > Cc: Shawn Guo <shawn.guo@linaro.org> > Cc: Alan Cox <alan@linux.intel.com> > Cc: Grant Likely <grant.likely@secretlab.ca> > Cc: Jeremy Kerr <jeremy.kerr@canonical.com> > Cc: Jason Liu <jason.hui@linaro.org> > Cc: Sascha Hauer <s.hauer@pengutronix.de>
I queued this for 3.3, and will send a pull-request to Greg.
-- Regards, Shawn
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |