]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PCI: OF: Correct of_irq_parse_pci() documentation
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 7 Aug 2019 13:20:49 +0000 (15:20 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 Aug 2019 19:00:34 +0000 (14:00 -0500)
530210c7814e ("of/irq: Replace of_irq with of_phandle_args") changed the
of_irq_parse_pci() parameter type but didn't change the corresponding
documentation.  Update the function doc to match.

Link: https://lore.kernel.org/r/20190807132049.10304-1-lkundrak@v3.sk
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/of.c

index bc7b27a28795da1918f969692d6fab2336159100..36891e7deee34da58c79083d99b75ed5113d236c 100644 (file)
@@ -353,7 +353,7 @@ EXPORT_SYMBOL_GPL(devm_of_pci_get_host_bridge_resources);
 /**
  * of_irq_parse_pci - Resolve the interrupt for a PCI device
  * @pdev:       the device whose interrupt is to be resolved
- * @out_irq:    structure of_irq filled by this function
+ * @out_irq:    structure of_phandle_args filled by this function
  *
  * This function resolves the PCI interrupt for a given PCI device. If a
  * device-node exists for a given pci_dev, it will use normal OF tree