[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170522105750.f2gc5v64bpvqkc3y@dell>
Date: Mon, 22 May 2017 11:57:50 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Stefan Agner <stefan@...er.ch>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: rn5t618: Unregister restart handler on remove
On Mon, 15 May 2017, Stefan Agner wrote:
> Remove the restart handler registered in probe on device remove.
>
> Fixes: a370f60a58ec ("mfd: rn5t618: Register restart handler")
> Signed-off-by: Stefan Agner <stefan@...er.ch>
> ---
> drivers/mfd/rn5t618.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.
> diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618.c
> index 8131d1975745..f4037d42a60f 100644
> --- a/drivers/mfd/rn5t618.c
> +++ b/drivers/mfd/rn5t618.c
> @@ -155,6 +155,8 @@ static int rn5t618_i2c_remove(struct i2c_client *i2c)
> pm_power_off = NULL;
> }
>
> + unregister_restart_handler(&rn5t618_restart_handler);
> +
> return 0;
> }
>
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists