Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1646739
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Lee Jones <lee.jones@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mfd: rn5t618: Unregister restart handler on remove |
| Date | Mon, 22 May 2017 13:00:02 +0200 |
| Message-ID | <tJTea-4Fe-25@gated-at.bofh.it> (permalink) |
| References | <tHE9z-22D-9@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=cIalkB3Vj4lJSZSLE9IkIAoiCYx/6zh0YVljZ0RaR74=; b=TeoYl2oerc7Ltmr4AQBYPt6AWYIlbEDXm4uDIiacCKz99N6OPeypa0I6jmBmYhvjMz F8LKtfN7fMifHIL0IBnbIDpWtQfcihSNH8weP4Z5cXXAj9JMaq7uDLaperteji0WUFvP ob4ujMocAcLSHImhNSpI3u7Az68CHZhMBhHUE= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=cIalkB3Vj4lJSZSLE9IkIAoiCYx/6zh0YVljZ0RaR74=; b=lfMvvS4dDbpyEjO3BQTeRY5ooIQ3dmB+R7i5U36MJI/9ez1IgAsZgsePC9SIVRi7O5 2R2LXIsPknYVW7M6V5mEAfiyf84aJ2o5PjdPl3D1a/B6Xn+f/ACD6e9peDpfudoIIEAi d8cNNWfGBGdD2eAN/XlPkGdi2rnardQXuSJQhL3P0h39fVjv2ufaG2wnvPqvOxVsW5gx g5/GJXpDBGMPYrWe7Jbe1sGmWGXj9WrsOnH4CGjV2R8XXw+tTkARl75050CFE09qIsJY mmIvY0aP7Roi7E2hBmeHWmxDx1jySgfaaqXBb12fLRfhVSUXSNED+tkpPqhrgH3gH4kR YZ2g== |
| X-Gm-Message-State | AODbwcAYzWtIwTG8LaJG6H2LqcQ8684vYQCaTtW6kVhyxd9GjbFMmOap z47JwaD+g/9Dsrne |
| X-Received | by 10.28.69.11 with SMTP id s11mr14700782wma.85.1495450673127; Mon, 22 May 2017 03:57:53 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| User-Agent | NeoMutt/20170113 (1.7.2) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 31 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org |
| X-Original-Date | Mon, 22 May 2017 11:57:50 +0100 |
| X-Original-Message-ID | <20170522105750.f2gc5v64bpvqkc3y@dell> |
| X-Original-References | <20170516062411.1915-1-stefan@agner.ch> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1646739 |
Show key headers only | View raw
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@agner.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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] mfd: rn5t618: Unregister restart handler on remove Stefan Agner <stefan@agner.ch> - 2017-05-16 08:30 +0200 Re: [PATCH] mfd: rn5t618: Unregister restart handler on remove Lee Jones <lee.jones@linaro.org> - 2017-05-22 13:00 +0200
csiph-web