]> git.baikalelectronics.ru Git - kernel.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)
commit066f9de0c7229600017f07bb8646129459fe9374
treead6e4d9a568045122d4518cdb5f8b5619cd1a681
parentc1e7f93cfc9ccbe5772b8d0eb3da04ab3bcc7881
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