]> git.openfabrics.org - ~emulex/infiniband.git/commit
mtd: nand: mxc_nand: Remove unneeded check for platform_get_resource()
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 21 Jul 2013 17:52:02 +0000 (14:52 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 20:01:17 +0000 (21:01 +0100)
commit96f2a4a1a77a60a55cc15e13938bd3f2d0ee86bc
tree9d395af804806df87593a4cbed5d7daf208cce37
parent795add9a56ef084061a4c5dce50a324f52305f08
mtd: nand: mxc_nand: Remove unneeded check for platform_get_resource()

devm_ioremap_resource() checks its arguments, so there is no need for
explicitly checking the return value from platform_get_resource().

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c