atmel: at76c50x: use DEFINE_MUTEX() for mutex lock
authorZheng Yongjun <zhengyongjun3@huawei.com>
Thu, 24 Dec 2020 13:24:56 +0000 (21:24 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Feb 2021 11:14:43 +0000 (13:14 +0200)
commitae30a740a1769d7afb37245b058aeb5e6e83f492
tree07a10197eaa654eb3cea11ce566ed8ca8f65f33e
parent38eb712ada24d3ee3fcf02e0941c03bcb437f1e2
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: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201224132456.31341-1-zhengyongjun3@huawei.com
drivers/net/wireless/atmel/at76c50x-usb.c