From: Fabio Estevam Date: Fri, 17 Oct 2014 18:31:08 +0000 (-0300) Subject: mtd: fsl-quadspi: Propagate the error from of_modalias_node() X-Git-Tag: omap-for-v3.19/fixes-rc1~56^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b26171e392c7d3952b6eeb6da62a861c5317e438;p=pandora-kernel.git mtd: fsl-quadspi: Propagate the error from of_modalias_node() The 'map_failed' label will return 'ret', so we need to assign the error code to 'ret', otherwise the probe function will return success. Signed-off-by: Fabio Estevam Acked-by: Huang Shijie Signed-off-by: Brian Norris --- Reading git-diff-tree failed