commit | 45c6c873c0ec3fab35aca3ef81b36cd3b1599d98 | [log] [tgz] |
---|---|---|
author | Zheng Yongjun <zhengyongjun3@huawei.com> | Mon Dec 28 21:51:20 2020 +0800 |
committer | Wolfram Sang <wsa@kernel.org> | Tue Jan 05 17:43:43 2021 +0100 |
tree | 0c66a7333e50d94995a37047b05af8cd0c6ccacb | |
parent | 9d64834b2a68b1c969f8c8d845471c0e91191549 [diff] |
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>