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

2021-01-05 Thread Wolfram Sang
On Mon, Dec 28, 2020 at 09:51:20PM +0800, Zheng Yongjun wrote: > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init(). > > Signed-off-by: Zheng Yongjun Applied to for-next, thanks! signature.asc Description: PGP signature

[PATCH -next] i2c: busses: 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/i2c/busses/i2c-elektor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-elektor.c