ASoC: soc-dapm: Use empty struct initializer
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 14 Feb 2018 15:39:05 +0000 (13:39 -0200)
committerMark Brown <broonie@kernel.org>
Wed, 14 Feb 2018 16:17:05 +0000 (16:17 +0000)
commit33d9245c6092336420c67f761b3bdcdd6c7c1d5d
treeb398458abb69e0bb5b395bddc480bb3f37847742
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: soc-dapm: Use empty struct initializer

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

Even though the first member of the snd_soc_dapm_update struct is a
pointer,it is more robust to use the empty struct initializer that
clears all the struct members.

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