diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2022-11-08 11:29:12 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-11-18 11:59:34 +0300 |
commit | 4f1c596df706c9aca662b6c214fad84047ae2a97 (patch) | |
tree | 49842a00442e727e12405efc2c26007c1f2a8f73 /arch/arm64 | |
parent | 7cdc5e6bcd02ab45d0a2991b35861b448e355276 (diff) | |
download | linux-4f1c596df706c9aca662b6c214fad84047ae2a97.tar.xz |
crypto: ccree - Remove debugfs when platform_driver_register failed
When platform_driver_register failed, we need to remove debugfs,
which will caused a resource leak, fix it.
Failed logs as follows:
[ 32.606488] debugfs: Directory 'ccree' with parent '/' already present!
Fixes: 4c3f97276e15 ("crypto: ccree - introduce CryptoCell driver")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions