Skip to content
Commit d35c97f6 authored by Jiahua Yu's avatar Jiahua Yu Committed by Daniel Vetter
Browse files

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: default avatarJiahua Yu <yujiahua1@huawei.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210616031713.24959-1-yujiahua1@huawei.com
parent 9f808288
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment