]> git.baikalelectronics.ru Git - kernel.git/commit
media: platform: davinci: Use DEFINE_SPINLOCK() for spinlock
authorZheng Yongjun <zhengyongjun3@huawei.com>
Mon, 28 Dec 2020 13:51:04 +0000 (14:51 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 17:21:34 +0000 (18:21 +0100)
commita580587b1d6a2573ab242cd1e6e58f7e1ca6aeb8
tree2af5bda15c77b4931a90860764725cc185123445
parentc26b995e3a9edd51dfc4fa53c0a1e6b4105de01e
media: platform: davinci: Use DEFINE_SPINLOCK() for spinlock

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

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/davinci/vpif.c