commit | 63655b62f56023ef2fa661b8a426589cd27adda7 | [log] [tgz] |
---|---|---|
author | Tang Yizhou <tangyizhou@huawei.com> | Wed Mar 31 10:00:55 2021 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Apr 09 17:41:06 2021 +1000 |
tree | b8862b659b287396d688eb8c37c108183bd53b24 | |
parent | fd4317b7b2c96e51b5ff3bed2af4ccfd66e9288a [diff] |
crypto: ccp - Use DEFINE_SPINLOCK() for spinlock spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Tang Yizhou <tangyizhou@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>