]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: cs53l30: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 16 Jul 2017 21:11:12 +0000 (18:11 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 14:43:38 +0000 (15:43 +0100)
commit55be663dc71ec50f0e383c50886cbd3be69fcd2e
treead6e4d9a568045122d4518cdb5f8b5619cd1a681
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
ASoC: cs53l30: 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/cs53l30.c