diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2020-11-23 10:36:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-26 09:12:18 +0100 |
commit | d7dcee38cbea6931a700bd42435bf403afee826a (patch) | |
tree | 5224cb450d263b93e5e1a75194823b9d91b5cf83 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0438fb09828eda30076a3e14b62f17aed95c364b (diff) |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions