]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: mv_cesa - remove NO_IRQ reference
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Sep 2016 23:26:40 +0000 (01:26 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 7 Sep 2016 13:08:32 +0000 (21:08 +0800)
commit70e063f8fd0127701c6851a65a74d3361c5d25d9
tree0d76f82b396b01f27b1733e79b34caf6ec9bd8b6
parent74f63b0269c0a95d5a2511c440b7f8f34c397fc9
crypto: mv_cesa - remove NO_IRQ reference

Drivers should not use NO_IRQ, as we are trying to get rid of that.
In this case, the call to irq_of_parse_and_map() is both wrong
(as it returns '0' on failure, not NO_IRQ) and unnecessary
(as platform_get_irq() does the same thing)

This removes the call to irq_of_parse_and_map() and checks for
the error code correctly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c