diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2024-04-30 11:43:46 +0530 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-05-28 11:13:48 -0500 |
commit | 942ceba0e4fcc935dc22dd40f5510325e1e96d47 (patch) | |
tree | 3a5181457e738ff7d2b2b2d4f1d8f5c8ee143d3a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f58838d7feb04809257f54a8b256786d2f9dfe01 (diff) |
PCI: endpoint: pci-epf-test: Refactor pci_epf_test_unbind() function
Move the pci_epc_clear_bar() and pci_epf_free_space() code to respective
helper functions. This allows reusing the helpers in future commits.
This also requires moving the pci_epf_test_unbind() definition below
pci_epf_test_bind() to avoid forward declaration of the above helpers.
No functional change.
Link: https://lore.kernel.org/linux-pci/20240430-pci-epf-rework-v4-5-22832d0d456f@linaro.org
Tested-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions