From: Fabio Estevam Date: Sun, 16 Jul 2017 21:16:13 +0000 (-0300) Subject: PCI: mvebu: Remove unneeded gpiod NULL check X-Git-Tag: v4.14-rc1~87^2~20^2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=c3539516538006a92fa395cf8b203a23a6913567;p=linux.git PCI: mvebu: 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 Signed-off-by: Bjorn Helgaas Acked-by: Thomas Petazzoni reset_gpio) - gpiod_set_value_cansleep(port->reset_gpio, 1); + gpiod_set_value_cansleep(port->reset_gpio, 1); clk_disable_unprepare(port->clk); }