Re: [PATCH v3 2/2] mfd: stpmic1: add pmic poweroff via sys-off handler

From: Lee Jones
Date: Thu Jun 08 2023 - 13:51:30 EST


On Fri, 02 Jun 2023, Sean Nyekjaer wrote:

> Use devm_register_sys_off_handler() that allows to register multiple
> power-off handlers.
> This will allow boards using the stpmic1 to power-off.
>
> Signed-off-by: Sean Nyekjaer <sean@xxxxxxxxxx>
> ---
> Changes since v1:
> - Removed superfluous function
>
> Changes since v2:
> - Removed the devicetree option to turn the power-off functionality on and off.
>
> drivers/mfd/stpmic1.c | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)

Applied, thanks

--
Lee Jones [李琼斯]