diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-02-14 16:39:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-14 17:17:01 +0100 |
commit | 91cd00083d734258bf293dcf76793e2348be391a (patch) | |
tree | 97901af7726ddc17f7f8d709d67b4cad1e494b20 /sound/soc/codecs/da7219-aad.c | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-91cd00083d734258bf293dcf76793e2348be391a.tar.xz linux-91cd00083d734258bf293dcf76793e2348be391a.zip |
ASoC: wm9713: 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.
Cc: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/da7219-aad.c')
0 files changed, 0 insertions, 0 deletions