mtd: fsl-quadspi: Remove unnecessary 'map_failed' label
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 23 Jan 2015 00:43:07 +0000 (22:43 -0200)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 6 Feb 2015 03:51:40 +0000 (19:51 -0800)
commitb1ab474fdaab6da2b9a0695b2c72ee5896dd6796
treed35095b22e6ca343a0700387e208ea8a559e6d1a
parent50131b73de14894d556baa5510f4e49db0454d93
mtd: fsl-quadspi: Remove unnecessary 'map_failed' label

There is no need to keep the 'map_failed' label. We can simply return the error
code directly and let the code shorter and cleaner.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Han Xu <han.xu@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/fsl-quadspi.c