staging: mt7621-pci: simplify write_config function
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 3 Aug 2018 08:26:59 +0000 (10:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Aug 2018 12:08:41 +0000 (14:08 +0200)
commitf8427fae570988deb5a78514ae6d70be1af0d358
tree48fc1e4f4b14088062112bfb49979fd57445f680
parentc0431f4f4aef9a52875d19af3c220e6c8f60d427
staging: mt7621-pci: simplify write_config function

write_config function is always called with bus and func
being 0. Avoid those params and just use 0 inside the
function. Review parameter types changing for more proper
ones.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Tested-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c