diff options
author | Xi Pardee <xi.pardee@linux.intel.com> | 2025-04-25 22:52:33 +0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-05-08 16:03:45 +0300 |
commit | a59211ee4610226251a723e9381a2c145a28fc4c (patch) | |
tree | 09bb7dfdd9603a3030467edca5f8b4f4559b4cb7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1e24546894d25863772e0e7829ea7a3f693d471a (diff) | |
download | linux-a59211ee4610226251a723e9381a2c145a28fc4c.tar.xz |
platform/x86:intel/pmc: Improve pmc_core_get_lpm_req()
Minor improvements on pmc_core_get_lpm_req().
1. Move the long comment to be above the function
2. Use %pe to print error pointer
3. Remove unneeded devm_kfree call
These changes improves the code maintainability.
Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Link: https://lore.kernel.org/r/20250425195237.493129-6-xi.pardee@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions