]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pcm3168a: remove numeric PCM3168A_NUM_SUPPLIES
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Tue, 8 Feb 2022 08:42:20 +0000 (11:42 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 14 Feb 2022 12:52:55 +0000 (12:52 +0000)
commit33746a3b426c16c4dac50422dddf7fe40f1b61b2
tree607327596c83fcfcc7ab90510d1cd9d4c61ac525
parentf81539f72c2e917bdfd6b7957ebe4499473c4bdc
ASoC: pcm3168a: remove numeric PCM3168A_NUM_SUPPLIES

Just use ARRAY_SIZE() instead.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Link: https://lore.kernel.org/r/20220208084220.1289836-5-nikita.yoush@cogentembedded.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm3168a.c