crypto: caam - use devres to de-initialize QI
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 22 Oct 2019 15:30:11 +0000 (08:30 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Nov 2019 05:38:30 +0000 (13:38 +0800)
commitf414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb
treee47834bfdd42d30a83a6e0d672d42d8b4d690116
parente57acaf0dfe0c8f63411d43cf7c689e43f6810c0
crypto: caam - use devres to de-initialize QI

Use devres to de-initialize the QI and drop explicit de-initialization
code in caam_remove().

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Horia Geantă <horia.geanta@nxp.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Iuliana Prodan <iuliana.prodan@nxp.com>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/intern.h
drivers/crypto/caam/qi.c
drivers/crypto/caam/qi.h