Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1567490
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Linus Walleij <linus.walleij@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 5/5] gpio: ws16c48: Utilize devm_ functions in driver probe callback |
| Date | Thu, 26 Jan 2017 16:00:03 +0100 |
| Message-ID | <t3TGP-cu-29@gated-at.bofh.it> (permalink) |
| References | <t3fzI-kX-11@gated-at.bofh.it> <t3fzJ-kX-35@gated-at.bofh.it> |
| X-Original-To | William Breathitt Gray <vilhelm.gray@gmail.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ft9NodwNWXNef373k04t1hx4bq4OEA3mME7KOmetItY=; b=ePifT7D2gdewuORdKG6q8lf77U2Kk+8AUIAliJrvaCeI4Jnz8bh5xS2rNLT+xSoIV6 2rsS5jsCacxx8rPrj7utIoXDvWUPdIyuAeUGt8ziH/NfyOoM+KhQMaKHBoYvA697bRGz +8t1xOJUxQRebfEIMY4MTqSBUHI7JLEBhLiZM= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ft9NodwNWXNef373k04t1hx4bq4OEA3mME7KOmetItY=; b=i3YH8McmkHdrDBhzWx9/73ZRoyZgZ2jGcVxqSgqjTXrynvg5rorWkR7MIq/XEsssNB h1zFSwAC9k9Dc4PG2DwSeZoPmEaJT++tTLD4S6QfnDG+TgwEpodXg5lkXk9rkuVeD3FN Qd0J0z/CdABLx36JferyXYkoWWX2OR0REhJQVSgJ1BzNDP/0cqifbMYpyJDrIYzegIb2 oy0xXZEiB6Fy3gJ9P2KVDEXRBoOLPgByqeHEhSagYajL9If6l+KFZPZN9fVwV0WFYdod kr58f3ziJrkNsNjHDKI8wJZ9FxqpBxS7bBZTVcfC95P1bBusXpADpZVce+7aKN7obmgN 8RCA== |
| X-Gm-Message-State | AIkVDXLMQykTPiKdP2Ab8tHzYxuylIYx6ZTzz2yzJnVhKYULD/FjjzrYFCRm852hN5EjGOfimwZWuuFm4OUoBlHv |
| X-Received | by 10.107.134.85 with SMTP id i82mr3489436iod.151.1485442620806; Thu, 26 Jan 2017 06:57:00 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | 17 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Alexandre Courbot <gnurou@gmail.com>, "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> |
| X-Original-Date | Thu, 26 Jan 2017 15:57:00 +0100 |
| X-Original-Message-ID | <CACRpkdZbOnzNyr-X1sO+TSCxKPoYawAx1YQiROVLNxnO4_FO7g@mail.gmail.com> |
| X-Original-References | <cover.1485287208.git.vilhelm.gray@gmail.com> <ba4aa1f760d413470204e4c4a4d9d9a80788397b.1485287208.git.vilhelm.gray@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1567490 |
Show key headers only | View raw
On Tue, Jan 24, 2017 at 9:01 PM, William Breathitt Gray <vilhelm.gray@gmail.com> wrote: > The devm_ resource manager functions allow memory to be automatically > released when a device is unbound. This patch takes advantage of the > resource manager functions and replaces the gpiochip_add_data call and > request_irq call with the devm_gpiochip_add_data call and > devm_request_irq call respectively. In addition, the ws16c48_remove > function has been removed as no longer necessary due to the use of the > relevant devm_ resource manager functions. > > Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Patch applied. Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] gpio: Utilize devm_ functions in driver probe callbacks William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-24 21:10 +0100
[PATCH 5/5] gpio: ws16c48: Utilize devm_ functions in driver probe callback William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-24 21:10 +0100
Re: [PATCH 5/5] gpio: ws16c48: Utilize devm_ functions in driver probe callback Linus Walleij <linus.walleij@linaro.org> - 2017-01-26 16:00 +0100
[PATCH 4/5] gpio: gpio-mm: Utilize devm_ functions in driver probe callback William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-24 21:10 +0100
Re: [PATCH 4/5] gpio: gpio-mm: Utilize devm_ functions in driver probe callback Linus Walleij <linus.walleij@linaro.org> - 2017-01-26 16:00 +0100
[PATCH 3/5] gpio: 104-idio-16: Utilize devm_ functions in driver probe callback William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-24 21:10 +0100
Re: [PATCH 3/5] gpio: 104-idio-16: Utilize devm_ functions in driver probe callback Linus Walleij <linus.walleij@linaro.org> - 2017-01-26 16:00 +0100
[PATCH 1/5] gpio: 104-dio-48e: Utilize devm_ functions in driver probe callback William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-01-24 21:10 +0100
Re: [PATCH 1/5] gpio: 104-dio-48e: Utilize devm_ functions in driver probe callback Linus Walleij <linus.walleij@linaro.org> - 2017-01-26 16:00 +0100
csiph-web