spi: spi-mxs: Remove unneeded check for platform_get_resource()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 22 Jul 2013 01:29:54 +0000 (22:29 -0300)
committerMark Brown <broonie@linaro.org>
Mon, 22 Jul 2013 09:51:13 +0000 (10:51 +0100)
As devm_ioremap_resource() is used on probe, there is no need to explicitly
check the return value from platform_get_resource(), as this is something that
devm_ioremap_resource() takes care by itself.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found