On Tue, 16 May 2023, Sean Nyekjaer wrote: > Use devm_register_sys_off_handler() that allows to register multiple > power-off handlers. > > This can be enabled by adding "st,pmic-poweroff" to device-tree. > > Signed-off-by: Sean Nyekjaer <sean@xxxxxxxxxx> > --- > Changes since v1: > - Removed superfluous function > > drivers/mfd/stpmic1.c | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) Reviewed-by: Lee Jones <lee@xxxxxxxxxx> -- Lee Jones [李琼斯]