summaryrefslogtreecommitdiffstats
path: root/lib/devres.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-12-14 21:26:51 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-04 16:30:34 -0800
commita197a191f73a75d80d5b67e09e0b89c214dc3690 (patch)
tree45effc90d9e00fc64f5c539a05a7bce340ebca31 /lib/devres.c
parentdb1a9b55004c83ded54c1f869f81a8a59c6dde87 (diff)
downloadlinux-a197a191f73a75d80d5b67e09e0b89c214dc3690.tar.bz2
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 <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> Acked-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions