Re: [PATCH] libertas: use DEVICE_ATTR_RW macro

From: Kalle Valo
Date: Tue Jun 15 2021 - 09:43:00 EST


YueHaibing <yuehaibing@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

8667ab49a6e0 libertas: use DEVICE_ATTR_RW macro

--
https://patchwork.kernel.org/project/linux-wireless/patch/20210523040339.2724-1-yuehaibing@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches