fbdev/omap2: use DEFINE_SPINLOCK() instead of spin_lock_init().
authorJiahua Yu <yujiahua1@huawei.com>
Wed, 16 Jun 2021 03:17:13 +0000 (19:17 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 17 Jun 2021 17:43:42 +0000 (19:43 +0200)
commitd35c97f606a1398b58e14e7cb8a7c67f7817be2a
treeaf8f0fa4b52510c2c49a867b5f89a9ea8773a78f
parent9f808288ba88ac2a9582118343d4ca7e3d95dd43
fbdev/omap2: use DEFINE_SPINLOCK() instead of spin_lock_init().

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

Signed-off-by: Jiahua Yu <yujiahua1@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210616031713.24959-1-yujiahua1@huawei.com
drivers/video/fbdev/omap2/omapfb/dss/apply.c