]> 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)
commit2f25a928e4fd2652c64af2ca42bd3fadf9fcbf0f
tree607327596c83fcfcc7ab90510d1cd9d4c61ac525
parent3fdf66ed482bc3c264224f6a01bbff416349757a
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