libertas: use DEVICE_ATTR_RW macro
authorYueHaibing <yuehaibing@huawei.com>
Sun, 23 May 2021 04:03:39 +0000 (12:03 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 15 Jun 2021 13:41:44 +0000 (16:41 +0300)
commit8667ab49a6e0942d64b0dafd30cbf4e0c8b08a8f
treedf55b124be245cc8a2656b5e14465e628de13260
parent3f60f4685699aa6006e58e424637e8e413e0a94d
libertas: use DEVICE_ATTR_RW macro

Use DEVICE_ATTR_RW helper instead of plain DEVICE_ATTR,
which makes the code a bit shorter and easier to read.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210523040339.2724-1-yuehaibing@huawei.com
drivers/net/wireless/marvell/libertas/mesh.c