diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2021-05-24 19:55:06 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-06-02 12:03:33 +0100 |
| commit | ae624a38be37e1a3127d5fa32c996e09974bb88d (patch) | |
| tree | e8eaf637cd8e9a8ff7a520bb75b12361b0ac3f14 /lib/mpi/mpi-sub-ui.c | |
| parent | 8e5607e9941ce915187785bd09805bf7df9f7349 (diff) | |
ASoC: Intel: Skylake: 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>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20210524115506.35724-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
