Re: [PATCH -next] MIPS: Alchemy: Use DEFINE_SPINLOCK() for spinlock

2021-04-12 Thread Thomas Bogendoerfer
On Sat, Mar 27, 2021 at 05:52:25PM +0800, Chen Lifu wrote: > From: Lifu Chen > > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init(). > > Reported-by: Hulk Robot > Signed-off-by: Lifu Chen > --- > arch/mips/alchemy/common/clock.c

[PATCH -next] MIPS: Alchemy: Use DEFINE_SPINLOCK() for spinlock

2021-03-27 Thread Chen Lifu
From: Lifu Chen spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Reported-by: Hulk Robot Signed-off-by: Lifu Chen --- arch/mips/alchemy/common/clock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/mi