spi/xilinx: Clean ioremap calling
authorMichal Simek <michal.simek@xilinx.com>
Mon, 8 Jul 2013 13:29:15 +0000 (15:29 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:45:53 +0000 (11:45 +0100)
commitad3fdbcaf98dc1258f7ee1503703e7fcbc0d8d8e
treee19a5412f5a3b9ee0825b4edf6bdd50fe7bc80d3
parent5586c09e19b0dea5c1b4fd9838ca73575def223f
spi/xilinx: Clean ioremap calling

devm_ioremap_resource() automatically checks that
struct resource is initialized.
Also group platform_get_resource() and devm_ioremap_resource()
together.
And remove mem resource from struct xilinx_spi.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-xilinx.c