diff options
| author | Zheng Yongjun <[email protected]> | 2020-12-28 13:51:20 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2021-01-05 16:43:43 +0000 |
| commit | 45c6c873c0ec3fab35aca3ef81b36cd3b1599d98 (patch) | |
| tree | 0c66a7333e50d94995a37047b05af8cd0c6ccacb /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | i2c: use DIV_ROUND_UP macro to do calculation (diff) | |
| download | kernel-45c6c873c0ec3fab35aca3ef81b36cd3b1599d98.tar.gz kernel-45c6c873c0ec3fab35aca3ef81b36cd3b1599d98.zip | |
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 <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
