[PATCH 1/2] mtd: fsl-quadspi: Propagate the error from of_modalias_node()

Brian Norris computersforpeace at gmail.com
Wed Oct 22 01:50:50 PDT 2014


On Fri, Oct 17, 2014 at 03:31:08PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> 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 <fabio.estevam at freescale.com>

Applied to l2-mtd.git

Brian



More information about the linux-mtd mailing list