ASoC: sta32x: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 16 Jul 2017 21:11:13 +0000 (18:11 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 14:43:55 +0000 (15:43 +0100)
commitc5efe232e09ef29cc2f9e8333a49dd8891366c22
treea0586cd183049b2e0840b8a402132febfe2269a1
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
ASoC: sta32x: 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/codecs/sta32x.c