summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2020-11-23 12:36:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-26 11:12:18 +0300
commitd7dcee38cbea6931a700bd42435bf403afee826a (patch)
tree5224cb450d263b93e5e1a75194823b9d91b5cf83 /lib/mpi/mpi-sub-ui.c
parent0438fb09828eda30076a3e14b62f17aed95c364b (diff)
downloadlinux-d7dcee38cbea6931a700bd42435bf403afee826a.tar.xz
staging: mt7621-pci: remove 'offset' with mem and io resource sizes
Offset contains resources size for both io and memory resources. Those fields are directly initialized to zero and set up using 'pci_add_resource_offset' function. Instead of doing that remove them and use directly function 'pci_add_resource' where zero is passed directly to its internal call to 'pci_add_resource_offset'. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20201123093637.8300-3-sergio.paracuellos@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions