From: Michael Ellerman Date: Thu, 25 Jan 2007 08:34:08 +0000 (+1100) Subject: MSI: Combine pci_(save|restore)_msi/msix_state X-Git-Tag: v2.6.21-rc1~92^2~28^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fed4b65236c44d090bd62f2d14938ae791e0260;p=pandora-kernel.git MSI: Combine pci_(save|restore)_msi/msix_state The PCI save/restore code doesn't need to care about MSI vs MSI-X, all it really wants is to say "save/restore all MSI(-X) info for this device". This is borne out in the code, we call the MSI and MSI-X save routines side by side, and similarly with the restore routines. So combine the MSI/MSI-X routines into pci_save_msi_state() and pci_restore_msi_state(). It is up to those routines to decide what state needs to be saved. Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed