]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Remove the wmfw_add_ctl helper function
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 17 Nov 2021 13:22:51 +0000 (13:22 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 Nov 2021 22:16:19 +0000 (22:16 +0000)
commita6622a94c9ccfc212920bc0c059abb4edff461a0
tree9f513cc988d3196bb70ab4e86bb728a753fbeb74
parent2a3186677a8ac50aa7d03b6746fd71f2c863e261
ASoC: wm_adsp: Remove the wmfw_add_ctl helper function

The helper function wmfw_add_ctl is only called from one place and that
place is a function with only 2 lines of code. Merge the helper function
into the work function to simplify the code.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211117132300.1290-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c