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

From: chenlifu
Date: Wed Mar 31 2021 - 05:04:11 EST



在 2021/3/31 13:59, Tony Lindgren 写道:
* Chen Lifu <chenlifu@xxxxxxxxxx> [210327 11:53]:
From: Lifu Chen <chenlifu@xxxxxxxxxx>

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