[PATCH] nand: mxc_nand: Remove unneeded check for platform_get_resource()
Artem Bityutskiy
artem.bityutskiy at linux.intel.com
Fri Aug 2 11:34:58 EDT 2013
On Sun, 2013-07-21 at 14:52 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
>
> 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 at freescale.com>
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
More information about the linux-mtd
mailing list