mtd: mxc_nand: Propagate the error if platform_get_irq() fails
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 14 Feb 2014 03:09:34 +0000 (01:09 -0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:26 +0000 (22:42 -0700)
commit26fbf48b7a04d585d89709d9e6f1e66b8bfc5dc2
treedfaa11e31cbaa11bf3aa56690acdd7d35e70bf66
parentda22b89386e8d4dc89525801dfe60f5f8c29668d
mtd: mxc_nand: Propagate the error if platform_get_irq() fails

Check the return value from platform_get_irq() and propagate it in the case of
error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/mxc_nand.c