crypto: caam - use devres to remove debugfs
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 22 Oct 2019 15:30:09 +0000 (08:30 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Nov 2019 05:38:30 +0000 (13:38 +0800)
commiteceb5daf9ebaa564a65eb2d9d5a4682a33747300
tree5018ace498daa0ac274c8377ac25eed4d11ef386
parent66e93b28075d3cae568ed97ef78789afa5a6eb36
crypto: caam - use devres to remove debugfs

Use devres to remove debugfs and drop corresponding
debugfs_remove_recursive() call.

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