]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - use devres to de-initialize the RNG
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 22 Oct 2019 15:30:10 +0000 (08:30 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Nov 2019 05:38:30 +0000 (13:38 +0800)
commitc447c09d201f68025f99b2d51e7e2ba35a67e2bc
tree28d40d116b9f6246ddfea30bf5edcd44e5572272
parent8bc8fd3184e2570e112056fe6f076efe82d4a0c7
crypto: caam - use devres to de-initialize the RNG

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

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.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
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c