diff options
| author | 2019-08-07 10:31:08 +0900 | |
|---|---|---|
| committer | 2019-08-08 20:56:54 +0100 | |
| commit | 9b98c7c2a0599084c7ed629b5f88f474d2578307 (patch) | |
| tree | 2c29f2c7493d32844603cccf2c9ce5e7c01e3858 /scripts/Makefile.thinlto | |
| parent | ASoC: soc-core: tidyup for snd_soc_dapm_add_routes() (diff) | |
ASoC: soc-core: tidyup for snd_soc_add_card_controls()
snd_soc_add_card_controls() registers controls by using
for(... i < num; ...). If controls was NULL, num should be zero.
Thus, we don't need to check about controls pointer.
This patch also cares missing return value.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87blx1ahoi.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
