commit | 08e767cd9e8b6682cfc4fba630ec2e46f13e99e0 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Sun May 23 15:11:09 2021 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Tue May 25 10:31:59 2021 +0200 |
tree | a343efb66a0119f738e58a7ae7cc0cd8bfead856 | |
parent | e1dc219af7ebc600486482c6d06242a1a11a2e33 [diff] |
ALSA: control_led - 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> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20210523071109.28940-1-yuehaibing@huawei.com Signed-off-by: Takashi Iwai <tiwai@suse.de>