Skip to content
Commit ae30a740 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Kalle Valo
Browse files

atmel: at76c50x: use DEFINE_MUTEX() for mutex lock



mutex lock can be initialized automatically with DEFINE_MUTEX()
rather than explicitly calling mutex_init().

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201224132456.31341-1-zhengyongjun3@huawei.com
parent 38eb712a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment