summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8940.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-04-13 13:27:54 +0100
committerMark Brown <broonie@kernel.org>2015-04-27 15:38:23 +0100
commit3809f00159d31a6c92b557e09c7ca8e22b62ae7c (patch)
tree8d1337d566bc08d7ec5bc52e588d0d375416761b /sound/soc/codecs/wm8940.c
parentb618a185ac2f0f7c95a8b4a1ab464e923f564028 (diff)
ASoC: wm_adsp: Improve variable naming
We have wm_adsp_region, wm_adsp_alg_region, and wmfw_region, the variables for which are all frequently called region, this can get quite confusing when reviewing the code especially given some functions are quite long. Consistently use mem for wm_adsp_regions, alg_region for wm_adsp_alg_region and region for wmfw_region. Additionally, we use a mix of adsp and dsp for pointers to the wm_adsp structure standardise this on dsp. Finally, we use algs to refer to the number of algorithms quite frequently, change this to the more descriptive n_algs. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8940.c')
0 files changed, 0 insertions, 0 deletions