]> Gentwo Git Trees - linux/.git/commit
ASoC: Intel: catpt: Switch to resource_xxx() API
authorCezary Rojewski <cezary.rojewski@intel.com>
Wed, 26 Nov 2025 09:55:19 +0000 (10:55 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 27 Nov 2025 11:41:13 +0000 (11:41 +0000)
commitea38b262a2df7c6f29753565fbe2db8492740f28
tree0503895166e555fae92124387903c7463785374a
parent1a0ce0a1e6d2e6e03469eb5233e2a571511b1ae1
ASoC: Intel: catpt: Switch to resource_xxx() API

There is a number of interfaces available for manipulating instances of
struct resource. To improve readability, move away from manual editing
in favor of the common interface.

While at it, adjust spacing so that both code blocks, while found in
separate functions, looks cohesive.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251126095523.3925364-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/catpt/loader.c