On Thu, May 14, 2026 at 04:47:20PM +0200, Diogo Ivo wrote: > 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 > --- > drivers/mfd/max77620.c | 22 +++++++++++++--------- > 1 file changed, 13 insertions(+), 9 deletions(-) Reviewed-by: Thierry Reding