aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-08-03 10:26:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-08 14:08:41 +0200
commitc0431f4f4aef9a52875d19af3c220e6c8f60d427 (patch)
treef4b9ee79c29e9677618bab3ac7ecae6d263fe1b2 /scripts/patch-kernel
parentstaging: mt7621-pci: use pcie_[read|write] in [write|read]_config (diff)
downloadlinux-c0431f4f4aef9a52875d19af3c220e6c8f60d427.tar.gz
linux-c0431f4f4aef9a52875d19af3c220e6c8f60d427.zip
staging: mt7621-pci: simplify read_config function
read_config function is always called with bus and func being 0. Avoid those params and just use 0 inside the function. Return readed value instead pass a reference parameter. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Tested-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions