Dan Carpenter 9553821ead spi: spi-topcliff-pch: fix a pci_iomap() check
If pci_iomap() returns NULL, adding "PCH_ADDRESS_SIZE * plat_dev->id"
can make it non-NULL which breaks the error handling.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-09-24 11:02:34 +01:00
..
2013-09-13 15:09:52 +02:00
2013-09-06 13:26:27 -07:00
2013-08-29 13:56:23 +01:00
2013-08-29 13:56:23 +01:00
2013-08-29 13:56:23 +01:00
2013-08-29 13:56:23 +01:00
2011-06-06 01:16:30 -06:00
2011-09-21 09:41:48 -06:00
2013-08-31 16:29:14 +01:00
2013-08-29 13:56:23 +01:00
2013-08-29 13:56:23 +01:00
2013-08-29 13:56:23 +01:00
2013-08-29 13:56:23 +01:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2013-08-29 13:56:23 +01:00
2013-05-23 09:09:55 -05:00
2013-08-29 13:56:23 +01:00