diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-03 16:22:18 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-06-15 13:11:56 +0300 |
commit | 573f1af86891d4ecda9f7f1073dccec28c469387 (patch) | |
tree | 4b2dd920498dfa4c6cce1b94a645a2933bdbaf7a /sound/pci | |
parent | 233bc283728241aa522fd2889649261b742cee5a (diff) | |
download | linux-573f1af86891d4ecda9f7f1073dccec28c469387.tar.bz2 |
ssb: use DEVICE_ATTR_ADMIN_RW() helper macro
Use DEVICE_ATTR_ADMIN_RW() helper macro instead of DEVICE_ATTR(), making
it simpler and easier to read.
Because the read and write function names of the sysfs attribute have been
normalized, there is a natural association.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210603082218.11718-2-thunder.leizhen@huawei.com
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions