]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SDCA: Tidy up some memory allocations
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 15 Jan 2026 11:46:07 +0000 (11:46 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 15 Jan 2026 12:46:10 +0000 (12:46 +0000)
commit61d2a7699ab39d448f44919ef15c16187e6f70ec
tree5c553207d0d81fecd3d372dde4fb05361644e0c2
parent57aa7735a536adfdf4a0e535a95a2ed3e34c7c9a
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>
sound/soc/sdca/sdca_fdl.c
sound/soc/sdca/sdca_functions.c