]> git.openpandora.org Git - pandora-kernel.git/commitdiff
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)
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

Simple merge