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>
Sat, 19 Feb 2022 08:17:42 +0000 (17:17 +0900)
commitd1e8c591c38eb7492e1d039f678897691ad198cd
treeaa7caef0d30cafb6a029f2fec6d15a074f685dc8
parent3c30cf91b5ecc7272b3d2942ae0505dd8320b81c
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