Skip to content
Commit ed7247f3 authored by Guobin Huang's avatar Guobin Huang Committed by Johannes Berg
Browse files

rfkill: use DEFINE_SPINLOCK() for spinlock



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

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarGuobin Huang <huangguobin4@huawei.com>
Link: https://lore.kernel.org/r/1617711116-49370-1-git-send-email-huangguobin4@huawei.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 3cd52c1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment