summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-05-11 22:06:59 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-05-20 13:07:11 +0300
commitdaca81d9ead06d85b749d6036ea8c4940e7ac128 (patch)
tree04932b2bfb05376d214846f283f0d7c012885c2b /tools/perf/scripts/python/stackcollapse.py
parent87b3892ddc3ac5c62eaa97a1662f6f996d6d4870 (diff)
platform/x86: classmate-laptop: Pass struct device pointer to helpers
To facilitate subsequent conversion of the driver to using struct platform_driver instead of struct acpi_driver, modify two helper functions in it, cmpc_add_acpi_notify_device() and cmpc_remove_acpi_notify_device(), to take a struct device pointer argument instead of a struct acpi_device pointer argument and update their callers accordingly. While at it, change the return type of cmpc_remove_acpi_notify_device() to void because its return value is never checked. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com> Link: https://patch.msgid.link/9615385.CDJkKcVGEf@rafael.j.wysocki 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions