diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-07 20:24:04 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-07 20:24:04 +0200 |
commit | 73646b7fb551a92ad4d2a05bea6fb40b1ae8ae01 (patch) | |
tree | aba6523bed029b728ea12c9e6da848d4bf280d78 /drivers/pci/host | |
parent | Merge branch 'pci/host-mediatek' into next (diff) | |
parent | PCI: mvebu: Remove unneeded gpiod NULL check (diff) | |
download | linux-73646b7fb551a92ad4d2a05bea6fb40b1ae8ae01.tar.xz linux-73646b7fb551a92ad4d2a05bea6fb40b1ae8ae01.zip |
Merge branch 'pci/host-mvebu' into next
* pci/host-mvebu:
PCI: mvebu: Remove unneeded gpiod NULL check
Diffstat (limited to 'drivers/pci/host')
-rw-r--r-- | drivers/pci/host/pci-mvebu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index f353a6eb2f01..fa227d81bec6 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -1186,8 +1186,7 @@ static int mvebu_pcie_powerup(struct mvebu_pcie_port *port) */ static void mvebu_pcie_powerdown(struct mvebu_pcie_port *port) { - if (port->reset_gpio) - gpiod_set_value_cansleep(port->reset_gpio, 1); + gpiod_set_value_cansleep(port->reset_gpio, 1); clk_disable_unprepare(port->clk); } |