ASoC: fsl: imx-sgtl5000: Delete unneeded test before of_node_put
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 7 Oct 2014 18:13:25 +0000 (15:13 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:20:15 +0000 (12:20 +0100)
commit7e3bc3c1c9017867b88593ecb4c0c1ae9da16fb2
treece531b940a8429c433ce7283dbc23c419f7ce6a5
parent051c77e552bf1c80adf3fb2fa5e145ca7c9b0f08
ASoC: fsl: imx-sgtl5000: Delete unneeded test before of_node_put

of_node_put() supports NULL as its argument, so the initial test is not
necessary.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-sgtl5000.c