]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs35l33: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 16 Jul 2017 21:11:09 +0000 (18:11 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 14:42:31 +0000 (15:42 +0100)
commit9985d7506827fb6196d3cb942d2a55920b9a1185
tree9ebc2c6c064273cab4e69c5cf51c9a3d7f5c8cba
parent9238ecfbaaeffcf7977c2776af9c57c0a4a878ed
ASoC: cs35l33: 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/cs35l33.c