]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: core: use DEVICE_ATTR_*() macro
authorYueHaibing <yuehaibing@huawei.com>
Wed, 26 May 2021 12:18:28 +0000 (20:18 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 28 May 2021 14:32:11 +0000 (16:32 +0200)
commit8012f053a0a948155c7f289b3dbeed4be0f12bf8
tree7979c7c794eb40c5c07cb165b9ffca485fbf65b3
parent04b61eab10cc74ea48263c8db309178af3f536ff
ALSA: core: use DEVICE_ATTR_*() macro

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@huawei.com>
Link: https://lore.kernel.org/r/20210526121828.8460-1-yuehaibing@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c