Re: [PATCH -next 1/2] mtip32xx: use DEFINE_SPINLOCK() for spinlock

From: Jens Axboe
Date: Mon Mar 29 2021 - 09:40:09 EST


On 3/29/21 3:53 AM, Shixin Liu wrote:
> spinlock can be initialized automatically with DEFINE_SPINLOCK()
> rather than explicitly calling spin_lock_init().

Applied both, thanks.

--
Jens Axboe