PCI: apple: GPIO handling nitfixes
authorHector Martin <marcan@marcan.st>
Sun, 6 Feb 2022 12:13:17 +0000 (21:13 +0900)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Mar 2022 17:55:01 +0000 (10:55 -0700)
commit762f59c6724dabd7c3bac7e513d71fcc34dc563b
tree4c1bc4cad9f4ef2a686d272447c0e1e81306e1eb
parente6ada6df471f847da3b09b357e246c62335bc0bb
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