]> 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)
commitd7e0748a274b9a97a9c977625d07cc8531630c2a
tree6f023219415754cf6c543435a9afdab6f2f2b57d
parent010f1b6d79684a281f3cad4276d48185e124c138
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