diff options
Diffstat (limited to 'kernel/drivers/crypto/marvell/cesa.c')
-rw-r--r-- | kernel/drivers/crypto/marvell/cesa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/crypto/marvell/cesa.c b/kernel/drivers/crypto/marvell/cesa.c index c0656e7f3..80239ae69 100644 --- a/kernel/drivers/crypto/marvell/cesa.c +++ b/kernel/drivers/crypto/marvell/cesa.c @@ -420,7 +420,7 @@ static int mv_cesa_probe(struct platform_device *pdev) res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "regs"); cesa->regs = devm_ioremap_resource(dev, res); if (IS_ERR(cesa->regs)) - return -ENOMEM; + return PTR_ERR(cesa->regs); ret = mv_cesa_dev_dma_init(cesa); if (ret) |