net: usb: Use DEFINE_SPINLOCK() for spinlock
authorZheng Yongjun <zhengyongjun3@huawei.com>
Tue, 29 Dec 2020 13:49:27 +0000 (21:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2021 23:43:41 +0000 (15:43 -0800)
commit447d871a0d08c20bf2a7573065e1fa08ab79c6df
tree5f814cc72ca003a0356992c788e77c48d553df8b
parent5b34af861f0b4c61254ba6cf0aa295b520a26fc6
net: usb: 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: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c