Home
last modified time | relevance | path

Searched hist:"2 c4134e7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/most/
H A Dmost_cdev.c2c4134e7 Mon Mar 29 04:40:14 CDT 2021 Shixin Liu <liushixin2@huawei.com> drivers: most: use DEFINE_SPINLOCK() for spinlock

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

Signed-off-by: Shixin Liu <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20210329094015.66942-1-liushixin2@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>