]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: adau17x1: Use empty struct initializer
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 14 Feb 2018 15:39:03 +0000 (13:39 -0200)
committerMark Brown <broonie@kernel.org>
Wed, 14 Feb 2018 16:16:56 +0000 (16:16 +0000)
commitc90ef8c7419180ee873dd64e5ae162d32faca762
treeccc316b05f7e442268b9954704145f2335a17157
parent4bb83cf0a034cbe83c413a69705d315f5660bdb9
ASoC: adau17x1: Use empty struct initializer

{ 0 } only clears the first member of the structure.

The first member of the snd_soc_dapm_update struct is a pointer,
and writing 0 to a pointer results in a sparse warning.

Use the empty struct initializer that clears all the struct members
and fixes the sparse warning.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau17x1.c