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

2021-01-10 Thread Moritz Fischer
On Sat, Jan 09, 2021 at 02:08:53PM -0800, Tom Rix wrote: > > On 12/28/20 5:51 AM, Zheng Yongjun wrote: > > spinlock can be initialized automatically with DEFINE_SPINLOCK() > > rather than explicitly calling spin_lock_init(). > > > > Signed-off-by: Zheng Yongjun > > This looks fine. > >

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

2021-01-09 Thread Tom Rix
On 12/28/20 5:51 AM, Zheng Yongjun wrote: > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init(). > > Signed-off-by: Zheng Yongjun This looks fine. Reviewed-by: Tom Rix > --- > drivers/fpga/fpga-bridge.c | 4 +--- > 1 file

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

2020-12-28 Thread Zheng Yongjun
spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Zheng Yongjun --- drivers/fpga/fpga-bridge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/fpga/fpga-bridge.c