ASoC: fsl: imx-spdif: Delete unneeded test before of_node_put
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 7 Oct 2014 18:29:56 +0000 (15:29 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:20:15 +0000 (12:20 +0100)
commitaa4ac9201676ddd35aa56ae74bdf8e07454f04fc
treec215c1016e4486a9a7dc9bf39ad6d034a9c4d5cb
parent7e3bc3c1c9017867b88593ecb4c0c1ae9da16fb2
ASoC: fsl: imx-spdif: 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-spdif.c