]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: catpt: Drop redundant enum constant
authorCezary Rojewski <cezary.rojewski@intel.com>
Sun, 3 Apr 2022 14:16:47 +0000 (16:16 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2022 09:23:22 +0000 (10:23 +0100)
commita29a4871a7e6d0708f5b5d5c6575c98117795f82
tree892e91afadd16b66c7c2959c72f021a37194a0d4
parent3de9588bb79d0867aaf389ac155219869c327419
ASoC: Intel: catpt: Drop redundant enum constant

CATPT_SSP_IFACE_LAST is being used only to calculate CATPT_SSP_COUNT.
Make CATPT_SSP_COUNT part of the enum directly and remove the redundant
constant.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220403141647.1037173-1-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/catpt/messages.h