ASoC: es8316: Replace NR_SUPPORTED_MCLK_LRCK_RATIOS with ARRAY_SIZE()
authorMarian Postevca <posteuca@mutex.one>
Tue, 29 Aug 2023 22:01:13 +0000 (01:01 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:24:08 +0000 (01:24 +0100)
commita43c0dc1004cbe2edbae9b6e6793db71f6896449
tree831d7515f381ca8e90a1f7d4b8b47ac01b379b15
parent2f06f231f0bfe74711fee14e28a8789a3de9bc36
ASoC: es8316: Replace NR_SUPPORTED_MCLK_LRCK_RATIOS with ARRAY_SIZE()

No need for a special define since we can use ARRAY_SIZE() directly,
and won't need to worry to keep it in sync.

Signed-off-by: Marian Postevca <posteuca@mutex.one>
Link: https://lore.kernel.org/r/20230829220116.1159-3-posteuca@mutex.one
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8316.c