]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: sun4i-codec: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 16 Jul 2017 21:11:06 +0000 (18:11 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 14:40:05 +0000 (15:40 +0100)
commitd51579e6effa19c1ca4d6a29c3841cb454d56af6
tree269d1ee5e978bc9286543e48f187b102744179f9
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
ASoC: sun4i-codec: Remove unneeded gpiod NULL check

The gpiod API checks for NULL descriptors, so there is no need to
duplicate the check in the driver.

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