]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gma500: Use DEFINE_SPINLOCK() for spinlock
authorGuobin Huang <huangguobin4@huawei.com>
Tue, 6 Apr 2021 11:55:14 +0000 (19:55 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 8 Apr 2021 11:19:56 +0000 (13:19 +0200)
commit13e133ea1a6b864f16663c3f8941f33e25593de3
treed28625545deb091d3519c269113b6d790530b658
parent2552fb66ae301f490ea37f64d2cdc5778ae61874
gma500: 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: Guobin Huang <huangguobin4@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1617710114-48071-1-git-send-email-huangguobin4@huawei.com
drivers/gpu/drm/gma500/power.c