ASoC: rt715: Make read-only arrays capture_reg_H and capture_reg_L static const
authorColin Ian King <colin.i.king@gmail.com>
Fri, 2 Dec 2022 17:14:50 +0000 (17:14 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 5 Dec 2022 14:05:41 +0000 (14:05 +0000)
commitb5d5051971b44c9952b62f261509cf837b9d21ba
treee0e87f5a0d718da83ed497970baf4f6aee6bba69
parentcb870fdcf1332ee791d7de6bbf350f15fc19c989
ASoC: rt715: Make read-only arrays capture_reg_H and capture_reg_L static const

Don't populate the read-only arrays capture_reg_H and capture_reg_L
on the stack but instead make them static const. Also makes the
object code a little smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20221202171450.1815346-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt715.c