summaryrefslogtreecommitdiff
path: root/sound/firewire
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-06-04 10:13:53 +0200
committerMark Brown <broonie@kernel.org>2015-06-15 10:50:28 +0100
commit6846e18a1e71360e76509f8d8235679a97b2437c (patch)
treead3a0b71e9824f71a2637ae1eb68a0c3de348178 /sound/firewire
parentfd35e37510e940ef360cde5adfa35eb4fdfe018c (diff)
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 'sound/firewire')
0 files changed, 0 insertions, 0 deletions