OSDN Git Service

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)
commit873fd81377b82c00f3660c5a37e36f8846ebe3f5
tree7979c7c794eb40c5c07cb165b9ffca485fbf65b3
parentd360870a5bcff79bcb9633bd66bd5a63943c5e9d
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