summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-06-04 11:13:53 +0300
committerMark Brown <broonie@kernel.org>2015-06-15 12:50:28 +0300
commit6846e18a1e71360e76509f8d8235679a97b2437c (patch)
treead3a0b71e9824f71a2637ae1eb68a0c3de348178 /Kbuild
parentfd35e37510e940ef360cde5adfa35eb4fdfe018c (diff)
downloadlinux-6846e18a1e71360e76509f8d8235679a97b2437c.tar.xz
ASoC: Intel: mrfld: simplify sst_fill_widget_module_info
Some tiny improvements, cutting 180 bytes off the generated code. - use strchr() for single-character needle - compute index using pointer subtraction instead of two strlen() calls - factor out the common check for whether the initial part of kctl->id.name (before the space) is identical to w->name. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Acked-by: Vinod Koul <vinod.koul@intel.com> Tested-by: Fang, Yang A <yang.a.fang@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions