]> git.baikalelectronics.ru Git - kernel.git/commit
mISDN: Use DEFINE_SPINLOCK() for spinlock
authorShixin Liu <liushixin2@huawei.com>
Tue, 30 Mar 2021 02:24:14 +0000 (10:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Mar 2021 20:34:42 +0000 (13:34 -0700)
commita5f49abcbd1c799ae13bd868cff0d9e781d294bd
tree6f023219415754cf6c543435a9afdab6f2f2b57d
parentab656ed8946272c182bb90c6820133e61b856c66
mISDN: Use DEFINE_SPINLOCK() for spinlock

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

Changelog:
From v1:
1. fix the mistake reported by kernel test robot.

Signed-off-by: Shixin Liu <liushixin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/hfcmulti.c
drivers/isdn/mISDN/dsp_core.c
drivers/isdn/mISDN/l1oip_core.c