]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: OMAP2+: Use DEFINE_SPINLOCK() for spinlock
authorLifu Chen <chenlifu@huawei.com>
Sat, 27 Mar 2021 09:52:27 +0000 (17:52 +0800)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Mar 2021 05:58:42 +0000 (08:58 +0300)
commit235e384526e44e902087fd5012e6ac6e8877f1d1
treec021d4bb33fe79cac1c5a0c73ef12aac348dd7de
parent0db1f107f83f19d56ef23965cfd0cfac8c0f66b3
ARM: OMAP2+: Use DEFINE_SPINLOCK() for spinlock

spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Lifu Chen <chenlifu@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c