PCI: dra7xx: Simplify probe code with devm_gpiod_get_optional()
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 11 Jan 2017 12:06:52 +0000 (17:36 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Feb 2017 20:59:59 +0000 (14:59 -0600)
commit602d38bc65aa2926d1ecd290a348e87aa8c21290
tree4217ba6c3f9d63d3bfc675afe8fa813c688a6f09
parent950bf6388bc22c2749b8b66c501df1462639d6bd
PCI: dra7xx: Simplify probe code with devm_gpiod_get_optional()

No functional change.  Use the new devm_gpiod_get_optional() to simplify
the probe code.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/dwc/pci-dra7xx.c