]> git.baikalelectronics.ru Git - kernel.git/commit
spi/pxa2xx-pci: correct the return value check of pcim_iomap_regions()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 5 Mar 2013 10:05:16 +0000 (12:05 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Mar 2013 18:30:56 +0000 (18:30 +0000)
commit2419a7badbaa6cf68f3ec8a23608df24d38ad4e4
treeafd97d69a17ee6adae25fe25459cb59c65b75748
parente5db28406f5c31a9125fb6cacf42024b85c08d23
spi/pxa2xx-pci: correct the return value check of pcim_iomap_regions()

The function returns 0 on success and negative errno in case of failure.
Fix this.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-pxa2xx-pci.c