crypto: mediatek - fix error return code in mtk_crypto_probe()
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Fri, 30 Jun 2017 06:24:54 +0000 (01:24 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 09:50:54 +0000 (17:50 +0800)
commit0a7d710de12a2a9bad195edc318729e0ebdcc512
tree24ad20a145a964bfb3b9ae412c974918d5b73c16
parent28a2cc671989264844f989e09a7bb83398fd0dd4
crypto: mediatek - fix error return code in mtk_crypto_probe()

Propagate the return value of platform_get_irq on failure.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mediatek/mtk-platform.c