diff options
| author | 2019-01-02 20:39:03 +0100 | |
|---|---|---|
| committer | 2019-01-04 15:15:51 +0000 | |
| commit | b97205ef95efddee018061dfee14c995be08dde3 (patch) | |
| tree | c6e1589e274fae85c8b37f2bcb694f7126d528ab /tools/lib/python | |
| parent | ASoC: Intel: Add ACPI match table entry for ES8316 codec on BYTCR platform (diff) | |
ASoC: Intel: sst: Simplify is_byt_cr()
is_byt_cr() and its usage can be simplified by returning the bool
directly, instead of through a pointer. This works because the
return value is just treated as bytcr = false and is not used
otherwise.
This patch also removes the extra check of
IS_ENABLED(CONFIG_IOSF_MBI) in favor of checking
iosf_mbi_available() directly. The header already takes care
of returning false if the config option is not enabled.
No functional change.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
