]> www.infradead.org Git - nvme.git/commit
ASoC: topology: Clean up route loading
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Mon, 3 Jun 2024 10:28:18 +0000 (12:28 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 11:47:20 +0000 (12:47 +0100)
commite0e7bc2cbee93778c4ad7d9a792d425ffb5af6f7
tree23c9774bcdebc83e9398b3e768428e9813f69477
parentdaf0b99d4720c9f05bdb81c73b2efdb43fa9def3
ASoC: topology: Clean up route loading

Instead of using very long macro name, assign it to shorter variable
and use it instead. While doing that, we can reduce multiple if checks
using this define to one.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20240603102818.36165-5-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c