diff options
author | Jan Kiszka <[email protected]> | 2018-05-15 11:07:05 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2018-05-30 11:35:13 -0500 |
commit | 5bd51b35c7cbbc98786282ada940429a33b52e17 (patch) | |
tree | 8074a74b42e82024cce8ad51c2cce56f05db275a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d9c5d5ac287caaa1bc17406ee16ce20f124e5583 (diff) |
PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources()
of_pci_get_host_bridge_resources() allocates the resource structures it
fills dynamically, but none of its callers care to release them so far.
Rather than requiring everyone to do this explicitly, convert the existing
function to a managed version.
Tested-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Vladimir Zapolskiy <[email protected]>
Acked-by: Joao Pinto <[email protected]>
Acked-by: Jingoo Han <[email protected]>
CC: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions