crypto: ccp - Provide an error path for debugfs setup failure
authorGary R Hook <gary.hook@amd.com>
Wed, 28 Jun 2017 16:56:47 +0000 (11:56 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 09:50:53 +0000 (17:50 +0800)
commit33460b2dd13f7b4845364c59fccb79c778d7c5e0
treeecd32d7133dfe90b7900c0a6477efb1916618584
parentbce386af148c85f1cd19bb9bfa04ec92a947e473
crypto: ccp - Provide an error path for debugfs setup failure

Changes since v2:
  - On failure remove only the DebugFS heirarchy for this device
Changes since v1:
  - Remove unneeded local variable

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-debugfs.c