PNP: pnpbios: Use DEFINE_SPINLOCK() for spinlock
authorZheng Yongjun <zhengyongjun3@huawei.com>
Mon, 28 Dec 2020 13:50:26 +0000 (21:50 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 22 Jan 2021 15:22:57 +0000 (16:22 +0100)
commit96228223933bf5ac920f93862c82449ec28247c0
treee01892aa1ce720b0eb36c71a9c9280f980a6d759
parentb1f4213cfa2a21d07fc34519cb8c6c999f8784b1
PNP: pnpbios: 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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pnp/pnpbios/bioscalls.c