aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAndrew Davis <[email protected]>2024-02-12 10:28:31 -0600
committerSebastian Reichel <[email protected]>2024-02-13 02:17:26 +0100
commit14c5678720bdee7c5b582839a8dbcffd0c50de5c (patch)
tree8e913becae5e629050baf52eb8d5173e08394cf8 /tools/perf/util/trace-event-scripting.c
parentffa212831289f15a92fe295a371157290619bb8f (diff)
power: reset: syscon-poweroff: Use devm_register_sys_off_handler(POWER_OFF)
Use device life-cycle managed register function to simplify probe and exit paths. This also makes our data struct per-device and not global, which allows for more than one instance of this device. Signed-off-by: Andrew Davis <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions