[PATCH -next] ASoC: cs42l52: use DEVICE_ATTR_WO macro

Charles Keepax ckeepax at opensource.cirrus.com
Tue May 25 17:56:12 CEST 2021


On Mon, May 24, 2021 at 07:42:39PM +0800, YueHaibing wrote:
> Use DEVICE_ATTR_WO() helper instead of plain DEVICE_ATTR(),
> which makes the code a bit shorter and easier to read.
> 
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> ---

Reviewed-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list