aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorGaosheng Cui2022-11-08 16:29:12 +0800
committerGreg Kroah-Hartman2022-12-31 13:32:32 +0100
commit677f01f396aee868082ebc2eebb5fdb9c6efd493 (patch)
tree781916fa5aac1838cdf1df90f43d41bfc361bdc5 /crypto
parent953c81ffe384e770744c33baa898ff31f0299be7 (diff)
crypto: ccree - Remove debugfs when platform_driver_register failed
[ Upstream commit 4f1c596df706c9aca662b6c214fad84047ae2a97 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions