PCI: apple: GPIO handling nitfixes
authorHector Martin <marcan@marcan.st>
Sun, 6 Feb 2022 12:13:17 +0000 (21:13 +0900)
committerHector Martin <marcan@marcan.st>
Tue, 15 Feb 2022 09:59:32 +0000 (18:59 +0900)
commitcbbe8b7c4e761798548f254805031e1648c140e1
tree57268962acbd2d4360ec958d440695881fc83643
parentdedbe1ff5491b3f23e370488337c0c20fc816419
PCI: apple: GPIO handling nitfixes

- Use devm managed GPIO getter
- GPIO ops can sleep in this context

Fixes: 1e33888fbe44 ("PCI: apple: Add initial hardware bring-up")
Cc: stable@vger.kernel.org
Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/pci/controller/pcie-apple.c