[RFC 23/42] drivers/spi: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/spi/spi-bcm63xx.c|8 +--- drivers/spi/spi-ep93xx.c |8 +--- drivers/spi/spi-omap2-mcspi.c|7

Re: [RFC 23/42] drivers/spi: don't check resource with devm_ioremap_resource

2013-05-10 Thread Mark Brown
On Fri, May 10, 2013 at 10:17:08AM +0200, Wolfram Sang wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com signature.asc Description: Digital signature

Re: [RFC 23/42] drivers/spi: don't check resource with devm_ioremap_resource

2013-05-10 Thread Stephen Warren
On 05/10/2013 02:17 AM, Wolfram Sang wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. diff --git a/drivers/spi/spi-tegra114.c b/drivers/spi/spi-tegra114.c - r = platform_get_resource(pdev, IORESOURCE_MEM, 0); - if (!r) {