linux/sound/soc/intel
Stephan Gerhold b97205ef95
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>
2019-01-04 15:15:51 +00:00
..
atom ASoC: Intel: sst: Simplify is_byt_cr() 2019-01-04 15:15:51 +00:00
baytrail ASoC: Intel: Baytrail: simplify boolean test 2019-01-03 16:34:11 +00:00
boards ASoC: Intel: bytcht_es8316: Set card long_name based on quirks 2019-01-04 15:15:43 +00:00
common ASoC: Intel: Add ACPI match table entry for ES8316 codec on BYTCR platform 2019-01-04 15:15:47 +00:00
haswell ASoC: Intel: Haswell: assign booleans to true/false 2019-01-03 16:34:10 +00:00
skylake ASoC: Intel: Skylake: simplify boolean tests 2019-01-03 16:34:08 +00:00
Kconfig ASoC: Intel: atom: Make PCI dependency explicit 2019-01-03 16:33:22 +00:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00