[PATCH -next] ALSA: pcm: use DEVICE_ATTR_RO macro

Takashi Iwai tiwai at suse.de
Tue May 25 09:00:50 CEST 2021


On Mon, 24 May 2021 14:00:07 +0200,
YueHaibing wrote:
> 
> Use DEVICE_ATTR_RO() 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>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list