summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pxa2xx-dma.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2013-05-13 13:45:09 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-13 17:59:00 +0400
commit6dc81f6fc0eaf0714bc6e959f8769705f41fd708 (patch)
treef98a4417a34f8761f862bb199d95bd1a9cfd5cbe /drivers/spi/spi-pxa2xx-dma.c
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
downloadtalos-obmc-linux-6dc81f6fc0eaf0714bc6e959f8769705f41fd708.tar.gz
talos-obmc-linux-6dc81f6fc0eaf0714bc6e959f8769705f41fd708.zip
spi/pxa2xx: fix compile warning in pxa2xx_spi_acpi_get_pdata()
Commit cbfd6a21b6f (spi/pxa2xx: Convert to devm_ioremap_resource()) converted the driver to use devm_ioremap_resource(). However it causes following warning to be emitted: drivers/spi/spi-pxa2xx.c: In function ‘pxa2xx_spi_acpi_get_pdata’: drivers/spi/spi-pxa2xx.c:1094:3: warning: return makes pointer from integer without a cast [enabled by default] Fix this by returning NULL as it was done previously (error printing is already done by devm_ioremap_resource()). Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Cc: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/spi/spi-pxa2xx-dma.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud