diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-24 20:00:07 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-25 09:00:04 +0200 |
commit | e1dc219af7ebc600486482c6d06242a1a11a2e33 (patch) | |
tree | eff8503a54bb882a07d6577924730231992ac070 /net | |
parent | ALSA: ac97: fix PM reference leak in ac97_bus_remove() (diff) | |
download | linux-dev-e1dc219af7ebc600486482c6d06242a1a11a2e33.tar.xz linux-dev-e1dc219af7ebc600486482c6d06242a1a11a2e33.zip |
ALSA: pcm: use DEVICE_ATTR_RO macro
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@huawei.com>
Link: https://lore.kernel.org/r/20210524120007.39728-1-yuehaibing@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions