]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: codecs: Use ARRAY_SIZE() to calculate PEB2466_TLV_SIZE
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 13 Jan 2025 00:10:01 +0000 (01:10 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jan 2025 16:00:20 +0000 (16:00 +0000)
commit8eb27b5758e6fb6d1881413e3f1159c579ac48b3
treecaaf8bad54939f0e47e2d0cc125dfc4ef06f2151
parent7299cc06fe4ab2ac26af73ac5fecd35a28fef527
ASoC: codecs: Use ARRAY_SIZE() to calculate PEB2466_TLV_SIZE

Use the ARRAY_SIZE() macro to calculate PEB2466_TLV_SIZE and improve the
code's readability.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Herve Codina <herve.codina@bootlin.com>
Link: https://patch.msgid.link/20250113001001.400669-2-thorsten.blum@linux.dev
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/peb2466.c