ASoC: mt8173-max98090: remove the call to snd_soc_jack_add_pins.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Fri, 27 Jan 2017 15:20:42 +0000 (16:20 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 31 Jan 2017 20:19:05 +0000 (20:19 +0000)
commitb1b9e0d3d98ebb1a228d9994b4c9dbac7215e2b9
treebbfed9f70ce84bb2b0fcba7473bbd7eff08f1b31
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: mt8173-max98090: remove the call to snd_soc_jack_add_pins.

The snd_soc_card_jack_new function can call snd_soc_jack_add_pins for
you, so pass directly the pins struct when you create the new jack.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8173/mt8173-max98090.c