ASoC: sdw_utils: tidyup .count_sidecar

count_sidecar() is not using *card. Tidyup it.

Current code makes old style / new style conversion difficult.
To make future conversions easier to understand, this patch clean up the
code a little. but no functional change.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/87jyrlety1.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2026-06-26 05:45:10 +00:00 • committed by Mark Brown
commit c97f0bf5f7
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 16 additions and 18 deletions