]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit796305a2e2d11748637c9d9e2ac71dfbb6af2372
tree4f0fd87dc832e66016b8d79e6d825d6b779c2c46
parent8498bce934b864d609dab15a342bc47bb637c7f6
spi: spi-mxs: Remove unneeded check for platform_get_resource()

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>
drivers/spi/spi-mxs.c