aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2019-08-07 10:30:53 +0900
committerMark Brown <[email protected]>2019-08-07 14:25:58 +0100
commitb8ba3b572c70c8559ef76c1e0ca02e7b05126e8c (patch)
treefed437df9f7f45d845e0fd6fbc93c9a0a5f1e180 /tools/perf/scripts/python
parent32d2c172fe88705058310635a732259c0a98e89b (diff)
ASoC: soc-core: tidyup for snd_soc_dapm_new_controls()
snd_soc_dapm_new_controls() registers controls by using for(... i < num; ...). It means if widget was NULL, num should be zero. Thus, we don't need to check about widget pointer. This patch also cares missing return value. Signed-off-by: Kuninori Morimoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions