diff options
author | Andrew Davis <afd@ti.com> | 2024-02-12 10:28:31 -0600 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-02-13 02:17:26 +0100 |
commit | 14c5678720bdee7c5b582839a8dbcffd0c50de5c (patch) | |
tree | 8e913becae5e629050baf52eb8d5173e08394cf8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ffa212831289f15a92fe295a371157290619bb8f (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 <afd@ti.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240212162831.67838-20-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions