PCI MSI: Unify msi_free_irqs() and msix_free_all_irqs()
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Thu, 6 Aug 2009 02:32:51 +0000 (11:32 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 9 Sep 2009 20:29:31 +0000 (13:29 -0700)
commitf56e4481328071d293306a55a951d83639d8d529
treeb4d9528f94b9f76dd34034124e8e74be9bd94ce8
parent9cc8d54815bd5b7c4b516e6be92f036bbcdd8bad
PCI MSI: Unify msi_free_irqs() and msix_free_all_irqs()

Unify msi_free_irqs() and msix_free_all_irqs(), and rename it to a
common void function free_msi_irqs().

And relocate the common function to where the prototype is located now.

Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c