From: Charles Keepax Date: Mon, 13 Apr 2015 12:27:54 +0000 (+0100) Subject: ASoC: wm_adsp: Improve variable naming X-Git-Tag: omap-for-v4.3/legacy-v2-signed~142^2~38^2~10^4~4^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3809f00159d31a6c92b557e09c7ca8e22b62ae7c;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed