From: Bjorn Helgaas Date: Thu, 22 Aug 2013 03:24:44 +0000 (+0800) Subject: PCI: Simplify pcie_bus_configure_settings() interface X-Git-Tag: v3.12-rc1~177^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a58674ff8383f5b8f6a77f03c48f6a47840b9325;p=pandora-kernel.git PCI: Simplify pcie_bus_configure_settings() interface Based on a patch by Jon Mason (see URL below). All users of pcie_bus_configure_settings() pass arguments of the form "bus, bus->self->pcie_mpss". The "mpss" argument is redundant since we can easily look it up internally. In addition, all callers check "bus->self" for NULL, which we can also do internally. This patch simplifies the interface and the callers. No functional change. Reference: http://lkml.kernel.org/r/1317048850-30728-2-git-send-email-mason@myri.com Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed