spi: rb4xx: Fix checking return value of devm_ioremap_resource()
authorAxel Lin <axel.lin@ingics.com>
Thu, 30 Apr 2015 02:06:54 +0000 (10:06 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 1 May 2015 16:35:54 +0000 (17:35 +0100)
commitb2b3024ca5853b3ea6390a3388e4761fc16e0655
treed87bd477b9571b427a46ca312b23961b4ced3499
parent4a1ae8be4563d29ddd36f46759191f4e867ed954
spi: rb4xx: Fix checking return value of devm_ioremap_resource()

devm_ioremap_resource() returns ERR_PTR on failure.

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