[PATCH -next] ARM: OMAP: Use DEFINE_SPINLOCK() for spinlock

chenlifu chenlifu at huawei.com
Wed Mar 31 10:03:24 BST 2021


在 2021/3/31 13:59, Tony Lindgren 写道:
> * Chen Lifu <chenlifu at huawei.com> [210327 11:53]:
>> From: Lifu Chen <chenlifu at huawei.com>
>>
>> spinlock can be initialized automatically with DEFINE_SPINLOCK()
>> rather than explicitly calling spin_lock_init().
> 
> Thanks applying into omap-for-v5.13/soc.
> 
> Tony
> .
> 

Thanks!

---
Chen Lifu



More information about the linux-arm-kernel mailing list