From: Fabio Estevam Date: Sun, 16 Jul 2017 21:16:13 +0000 (-0300) Subject: PCI: mvebu: Remove unneeded gpiod NULL check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c3539516538006a92fa395cf8b203a23a6913567;p=openwrt%2Fstaging%2Fblogic.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); }