Re: [PATCH -next] iommu: amd: Use DEFINE_SPINLOCK() for spinlock

From: Joerg Roedel
Date: Wed Jan 27 2021 - 06:45:50 EST


On Mon, Dec 28, 2020 at 09:51:12PM +0800, Zheng Yongjun wrote:
> spinlock can be initialized automatically with DEFINE_SPINLOCK()
> rather than explicitly calling spin_lock_init().
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
> ---
> drivers/iommu/amd/iommu_v2.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)

Applied, thanks.