]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l56: use DEVICE_ATTR_WO macro
authorYueHaibing <yuehaibing@huawei.com>
Mon, 24 May 2021 11:45:03 +0000 (19:45 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 26 May 2021 11:07:13 +0000 (12:07 +0100)
commit8460e07dd2151a02179014be90021ff7ab115a0b
treecf107b2ff1219f95da68096b0b359567e9999e13
parentef4bba8cc25e2c2226fb55f76cba7efe790f2cdb
ASoC: cs42l56: use DEVICE_ATTR_WO macro

Use DEVICE_ATTR_WO() 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: Charles Keepax <ckeepax@opensource.cirrus.com>
Message-Id: <20210524114503.26460-1-yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l56.c