MIPS: Alchemy: Use DEFINE_SPINLOCK() for spinlock
authorLifu Chen <chenlifu@huawei.com>
Sat, 27 Mar 2021 09:52:25 +0000 (17:52 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 12 Apr 2021 14:54:57 +0000 (16:54 +0200)
commitdbd815c0dccadffbee5c9780308858fd07669ce2
treec93b1b11721bd24795d7a191ec4726ef8ebf32fc
parent6decd1aad15f56b169217789630a0098b496de0e
MIPS: Alchemy: 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: Lifu Chen <chenlifu@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/alchemy/common/clock.c