diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-14 16:11:00 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-18 14:04:31 +0100 |
commit | 5a3f869c5b4d230b60ba0197c10506dd4ae30851 (patch) | |
tree | 08eaee23abad1d069827ee15766888f50f1f374a /sound/soc/ti/n810.c | |
parent | d14eece945a8068a017995f7512ea2beac21e34b (diff) | |
download | linux-5a3f869c5b4d230b60ba0197c10506dd4ae30851.tar.bz2 |
ASoC: soc-core: 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/20210514081100.16196-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/ti/n810.c')
0 files changed, 0 insertions, 0 deletions