]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ASoC: cs35l34: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 16 Jul 2017 21:11:10 +0000 (18:11 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 14:42:49 +0000 (15:42 +0100)
commitdb3be255a101da11f67c0f3053b750e767eb10fe
treeaf6280a44745e62e8e38fcbb9f77c0b62124ca67
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
ASoC: cs35l34: 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/cs35l34.c