]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic26: use DEVICE_ATTR_RW macro
authorYueHaibing <yuehaibing@huawei.com>
Mon, 24 May 2021 11:51:31 +0000 (19:51 +0800)
committerMark Brown <broonie@sirena.org.uk>
Tue, 25 May 2021 15:45:06 +0000 (16:45 +0100)
commit0bedff888468c8a38c67e373dd314c74030bfc34
tree62efb4b3cf4625b5c1a8322e7c502ba9df976c02
parentaf7a04f79ca2fec24356bf901c3df9c2f5405cf3
ASoC: tlv320aic26: use DEVICE_ATTR_RW macro

Use DEVICE_ATTR_RW() helper instead of plain DEVICE_ATTR(),
which makes the code a bit shorter and easier to read.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Message-Id: <20210524115131.46288-1-yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@sirena.org.uk>
sound/soc/codecs/tlv320aic26.c