Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 4c3f972 ("crypto: ccree - introduce CryptoCell driver") Signed-off-by: Gaosheng Cui <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information