[PATCH -next] ALSA: control_led - use DEVICE_ATTR_*() macro

Takashi Iwai tiwai at suse.de
Tue May 25 10:32:16 CEST 2021


On Sun, 23 May 2021 09:11:09 +0200,
YueHaibing wrote:
> 
> Use DEVICE_ATTR_*() 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