ASoC: mxs: mxs-sgtl5000: Simplify probe function
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 2 Sep 2013 20:56:18 +0000 (17:56 -0300)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:40:10 +0000 (00:40 +0100)
commit38f2b8cbfb1ef517af8af5a63bdff073b7b078fd
treeb804f6a776af20703af37d0886512119030cfedd
parent272b98c6455f00884f0350f775c5342358ebb73f
ASoC: mxs: mxs-sgtl5000: Simplify probe function

mxs is a device tree only platform, which allows us to simplify a bit
mxs_sgtl5000_probe(), because there is no need to check whether device tree is
supported or not.

Remove mxs_sgtl5000_probe_dt() and place its content inside mxs_sgtl5000_probe()
for making the code simpler.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/mxs/mxs-sgtl5000.c