From: Rafael J. Wysocki Date: Tue, 13 Jan 2009 13:38:34 +0000 (+0100) Subject: PCI: PCIe portdrv: Use driver data to simplify code X-Git-Tag: v2.6.30-rc1~419^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bf83e558cb29d163f4bc6decbc3800ecf4db195;p=pandora-kernel.git PCI: PCIe portdrv: Use driver data to simplify code PCI Express port driver extension, as defined by struct pcie_port_device_ext in portdrv.h, is allocated and initialized, but never used (it also is never freed). Extend it to hold the PCI Express port type as well as the port interrupt mode, change its name and use it to simplify the code in portdrv_core.c . Additionally, remove the redundant interrupt_mode member of struct pcie_device defined in include/linux/pcieport_if.h . Signed-off-by: Rafael J. Wysocki Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed