diff options
author | 2020-12-23 22:14:38 +0800 | |
---|---|---|
committer | 2020-12-28 16:14:01 +0100 | |
commit | 01493ccb4436aadcaf8f33cd5d524a5d68f22836 (patch) | |
tree | d19e9fbbb4ec199a4bdc3a2362ecba4dcaee5b54 /drivers/tty/serial/efm32-uart.c | |
parent | tty: serial: cpm_uart: Add udbg support for enabling xmon (diff) | |
download | wireguard-linux-01493ccb4436aadcaf8f33cd5d524a5d68f22836.tar.xz wireguard-linux-01493ccb4436aadcaf8f33cd5d524a5d68f22836.zip |
tty: serial: icom: 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>
Link: https://lore.kernel.org/r/20201223141438.889-1-zhengyongjun3@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/efm32-uart.c')
0 files changed, 0 insertions, 0 deletions