diff options
author | Guobin Huang <huangguobin4@huawei.com> | 2021-04-06 15:11:56 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-04-08 11:16:53 +0300 |
commit | ed7247f30982bbc6f8bffd12a0c76398b90ec319 (patch) | |
tree | d0369a640f63aad8be943eb1fe59779dcfa65e40 /README | |
parent | 3cd52c1e32fe7dfee09815ced702db9ee9f84ec9 (diff) | |
download | linux-ed7247f30982bbc6f8bffd12a0c76398b90ec319.tar.xz |
rfkill: use DEFINE_SPINLOCK() for spinlock
spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Guobin Huang <huangguobin4@huawei.com>
Link: https://lore.kernel.org/r/1617711116-49370-1-git-send-email-huangguobin4@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions