aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorZheng Yongjun <[email protected]>2020-12-28 13:51:20 +0000
committerWolfram Sang <[email protected]>2021-01-05 16:43:43 +0000
commit45c6c873c0ec3fab35aca3ef81b36cd3b1599d98 (patch)
tree0c66a7333e50d94995a37047b05af8cd0c6ccacb /drivers/i2c/algos/i2c-algo-bit.c
parenti2c: use DIV_ROUND_UP macro to do calculation (diff)
downloadkernel-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