regulator: pwm-regulator: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 24 Jul 2017 02:10:48 +0000 (23:10 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jul 2017 15:26:35 +0000 (16:26 +0100)
commita4aae5afc90fba2ca251b1179b58e1de19776605
tree07469266a602c5d002d4e9b4b84cb44cd658de23
parent760068be07c744a4355a0387be4dcd4127ad2523
regulator: pwm-regulator: 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>
drivers/regulator/pwm-regulator.c