ASoC: SDCA: Tidy up some memory allocations

It is slightly better to deference the type being allocate for a sizeof
rather than manually using the type. Saves effort if types change in the
future. This results in no functional changes, just tidies up the style
of the code a little.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260115114607.271990-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Charles Keepax 2026-01-15 11:46:07 +00:00 • committed by Mark Brown
commit 61d2a7699a
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 4 additions and 4 deletions