aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorKazuhiro Abe <[email protected]>2025-01-15 07:35:32 +0000
committerGuenter Roeck <[email protected]>2025-01-15 06:21:19 -0800
commit8d6bf2e1055fa2cca4bf233f46d4d1e2086cc5ff (patch)
tree8592740d28192c90d1acb4a371beaa7749c99d44 /tools/perf/scripts/python/call-graph-from-sql.py
parente2c68cea431d65292b592c9f8446c918d45fcf78 (diff)
hwmon: (acpi_power_meter) Fix a check for the return value of read_domain_devices().
After commit fabb1f813ec0 ("hwmon: (acpi_power_meter) Fix fail to load module on platform without _PMD method"), the acpi_power_meter driver fails to load if the platform has _PMD method. To address this, add a check for successful read_domain_devices(). Tested on Nvidia Grace machine. Fixes: fabb1f813ec0 ("hwmon: (acpi_power_meter) Fix fail to load module on platform without _PMD method") Signed-off-by: Kazuhiro Abe <[email protected]> Link: https://lore.kernel.org/r/[email protected] [groeck: Dropped unnecessary () from expression] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions