Home
last modified time | relevance | path

Searched hist:"45 c6c873c0ec3fab35aca3ef81b36cd3b1599d98" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/i2c/busses/
H A Di2c-elektor.cdiff 45c6c873c0ec3fab35aca3ef81b36cd3b1599d98 Mon Dec 28 14:51:20 CET 2020 Zheng Yongjun <zhengyongjun3@huawei.com> i2c: busses: Use DEFINE_SPINLOCK() for spinlock

spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>