diff options
| author | Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt> | 2026-05-14 17:47:20 +0300 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-06-17 13:32:41 +0300 |
| commit | f01e402bebf8a2f3843990b209b3f50cf536dbf8 (patch) | |
| tree | 5622c4fa8468254b5dcf422da50c7941693361ce /include/linux/workqueue_api.h | |
| parent | 7502c035b884b73f51669cada3f4022cd11e8f5c (diff) | |
| download | linux-f01e402bebf8a2f3843990b209b3f50cf536dbf8.tar.xz | |
mfd: max77620: Convert poweroff support to sys-off API
Convert max77620_pm_power_off() to the sys-off callback prototype and
register it with the sys-off API when the device tree marks the PMIC as
a system power controller. This also removes the global max77620_scratch
pointer by passing the chip instance through the callback data.
This modernizes the driver's poweroff handling and aligns it with
the kernel sys-off infrastructure.
Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Link: https://patch.msgid.link/20260514-smaug-poweroff-v1-2-30f9a4688966@tecnico.ulisboa.pt
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
