From: Fabio Estevam Date: Sun, 16 Jul 2017 21:16:13 +0000 (-0300) Subject: PCI: mvebu: Remove unneeded gpiod NULL check X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c3539516538006a92fa395cf8b203a23a6913567;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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); }