diff options
| author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2022-11-08 16:29:12 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-11-18 16:59:34 +0800 |
| commit | 4f1c596df706c9aca662b6c214fad84047ae2a97 (patch) | |
| tree | 49842a00442e727e12405efc2c26007c1f2a8f73 /tools/perf/scripts/python | |
| parent | hwrng: stm32 - rename readl return value (diff) | |
| download | linux-4f1c596df706c9aca662b6c214fad84047ae2a97.tar.gz linux-4f1c596df706c9aca662b6c214fad84047ae2a97.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
