spi: fsl-(e)spi: Fix checking return value of devm_ioremap_resource
authorAxel Lin <axel.lin@ingics.com>
Sun, 30 Aug 2015 10:35:51 +0000 (18:35 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 30 Aug 2015 11:14:36 +0000 (12:14 +0100)
commit37c5db7938093cada165146ee99bd57c97baf6a3
tree92b0a40a30d703c19acb26a10b5723124d9de8a8
parente9abb4db8d108624c293f06dce06b2978e626a13
spi: fsl-(e)spi: Fix checking return value of devm_ioremap_resource

devm_ioremap_resource() returns ERR_PTR on error.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c
drivers/spi/spi-fsl-spi.c