diff options
| author | 2017-09-26 00:40:42 +0000 | |
|---|---|---|
| committer | 2017-09-26 09:19:33 -0700 | |
| commit | 75ab9eb6f15bad78b3ce274c699c27dc98ab13ce (patch) | |
| tree | 22a53174bcd06a07710e8c17f521017f21a03994 /include/linux/timerqueue.h | |
| parent | Merge branch 'topic/component' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-core (diff) | |
ASoC: add null_snd_soc_ops and reduce NULL ops check
Double NULL pointer check for ops and ops->func is difficult to read
and might be forget to check it if new func was add.
This patch adds new null_snd_soc_ops and use it if rtd->dai_link didn't
have it to avoid NULL ops, and reduces ops NULL check.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
