diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-12-28 21:51:35 +0800 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2021-01-10 10:57:13 -0800 |
commit | f5187329d07247393413b7a4bc32e16b35849e0f (patch) | |
tree | 9dee33357fd90070f533fbed7c32232aa97aabf9 /drivers/fpga/dfl-fme-perf.c | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) | |
download | linux-f5187329d07247393413b7a4bc32e16b35849e0f.tar.gz linux-f5187329d07247393413b7a4bc32e16b35849e0f.tar.bz2 linux-f5187329d07247393413b7a4bc32e16b35849e0f.zip |
fpga: 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: Tom Rix <trix@redhat.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'drivers/fpga/dfl-fme-perf.c')
0 files changed, 0 insertions, 0 deletions