diff options
| author | Sanket Goswami <[email protected]> | 2021-11-30 16:53:17 +0530 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-12-21 18:47:57 +0100 |
| commit | 6a5a14b18972ae03861e2ed15152f731de29baaa (patch) | |
| tree | 4637b6f10b7a491103bd58f2d65a89b7914cd52e /tools/perf/scripts/python | |
| parent | 400cffd5f4eaf34939530b3a044e31655188b1f9 (diff) | |
platform/x86: amd-pmc: Simplify error handling and store the pci_dev in amd_pmc_dev structure
Handle error-exits in the amd_pmc_probe() to avoid duplication and store
the root port information in amd_pmc_probe() so that the information
can be used across multiple routines.
Suggested-by: Hans de Goede <[email protected]>
Signed-off-by: Sanket Goswami <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions