dmaengine: xgene: devm_ioremap() returns NULL on error
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 9 Apr 2015 09:03:31 +0000 (12:03 +0300)
committerVinod Koul <vinod.koul@intel.com>
Fri, 17 Apr 2015 18:04:51 +0000 (23:34 +0530)
commit9c361b1afd9b4b2bba7fa1ffb080c9f5de3ff108
tree4109d70c1db40d9b3668f10bb25c1655a3b5925b
parented1f041842f0c4226a78fcd96ccb8e6a5433ae9d
dmaengine: xgene: devm_ioremap() returns NULL on error

The code here is checking for IS_ERR() but devm_ioremap() returns NULL
on error and not an error pointer.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xgene-dma.c