Skip to content
Commit bd96a89c authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Krzysztof Kozlowski
Browse files

memory: emif: Use DEFINE_SPINLOCK() for spinlock



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

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20201228135056.28511-1-zhengyongjun3@huawei.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent a2d522ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment