PCI: Use of_pci_dma_range_parser_init() to reduce duplication

Use the new of_pci_dma_range_parser_init() to reduce code duplication.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Marc Gonzalez 2017-09-26 12:26:55 +02:00 • committed by Bjorn Helgaas
commit 1e61a57cac
5 changed files with 5 additions and 95 deletions