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)
commit3e63d3c1a2e52fb60d66bb23cb62c92c92ad0a3f
tree607327596c83fcfcc7ab90510d1cd9d4c61ac525
parent6bfc1242ee995f23f8c167bf1308a43b86560fce
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