From: Yijing Wang Date: Mon, 9 Sep 2013 13:13:07 +0000 (+0800) Subject: staging: et131x: Use pci_dev->pcie_mpss and pcie_set_readrq() to simplify code X-Git-Tag: v3.13-rc1~95^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9db008d0d963f358c13381e86f5a042579216f06;p=pandora-kernel.git staging: et131x: Use pci_dev->pcie_mpss and pcie_set_readrq() to simplify code The PCI core caches the "PCIe Max Payload Size Supported" in pci_dev->pcie_mpss, so use that instead of pcie_capability_read_dword(). Also use pcie_set_readrq() instead of pcie_capability_clear_and_set_word() to simplify code. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas Acked-by: Greg Kroah-Hartman Acked-by: Mark Einon --- Reading git-diff-tree failed