diff options
author | Chen-Yu Tsai <wens@csie.org> | 2021-01-22 00:23:18 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-02-23 14:23:50 -0600 |
commit | 58adbfb3ebec460e8b58875c682bafd866808e80 (patch) | |
tree | fed64ef411f0cdad1a23a4aae00f9e547076b440 /mm/rmap.c | |
parent | 7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff) |
PCI: rockchip: Make 'ep-gpios' DT property optional
The Rockchip PCIe controller DT binding clearly states that 'ep-gpios' is
an optional property. And indeed there are boards that don't require it.
Make the driver follow the binding by using devm_gpiod_get_optional()
instead of devm_gpiod_get().
[bhelgaas: tidy whitespace]
Link: https://lore.kernel.org/r/20210121162321.4538-2-wens@kernel.org
Fixes: e77f847df54c ("PCI: rockchip: Add Rockchip PCIe controller support")
Fixes: 956cd99b35a8 ("PCI: rockchip: Separate common code from RC driver")
Fixes: 964bac9455be ("PCI: rockchip: Split out rockchip_pcie_parse_dt() to parse DT")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions