commit | 06e9b2fe7f1279bea649002cc40cce54a383f052 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Aug 27 11:46:14 2019 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 04 12:43:55 2019 +0200 |
tree | ed8c1db762a40de1023606eb49bb4021e5c33e20 | |
parent | 8428413b1d14fc880b805c98f571169e7f1ac369 [diff] |
tty: serial: linflexuart: Use DEFINE_SPINLOCK() for spinlock spinlock can be initialized automatically with DEFINE_SPINLOCK() rather than explicitly calling spin_lock_init(). Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20190827114614.102037-1-weiyongjun1@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>