]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
PCI: mvebu: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 16 Jul 2017 21:16:13 +0000 (18:16 -0300)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 2 Aug 2017 21:40:46 +0000 (16:40 -0500)
commitc3539516538006a92fa395cf8b203a23a6913567
tree113431244f2c371a254e375a61248b5cc678eeb2
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
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 <fabio.estevam@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com
drivers/pci/host/pci-mvebu.c