crypto: ixp4xx - use DEFINE_SPINLOCK() for spinlock
authorGuobin Huang <huangguobin4@huawei.com>
Tue, 6 Apr 2021 12:02:57 +0000 (20:02 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Apr 2021 11:16:31 +0000 (21:16 +1000)
commit7dad7d007ab73b36a4a2438f063dfabbdc2df288
tree645597f448f681aa95849d0611d23995356e0cce
parent25ee76a221b01c4044fbcfe0b8cfd3d4f5982f2b
crypto: ixp4xx - 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: Guobin Huang <huangguobin4@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ixp4xx_crypto.c