ASoC: amd: acp: Refactor dmic-codec platform device creation

Refactor dmic-codec platform driver creation using helper function.

Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://patch.msgid.link/20250310183201.11979-4-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Venkata Prasad Potturu 2025-03-11 00:01:50 +05:30 • committed by Mark Brown
commit e2cda46176
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 35 additions and 15 deletions