From: Tejun Heo <tj@kernel.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC/PATCH] devres: allow adding custom actions to the stack
Date: Mon, 25 Feb 2013 15:48:01 -0800 [thread overview]
Message-ID: <20130225234801.GD2679@htj.dyndns.org> (raw)
In-Reply-To: <20130224040556.GA15339@core.coreip.homeip.net>
On Sat, Feb 23, 2013 at 08:05:57PM -0800, Dmitry Torokhov wrote:
> Sometimes drivers need to execute one-off actions in their error handling
> or device teardown paths. An example would be toggling a GPIO line to
> reset the controlled device into predefined state.
>
> To allow performing such actions when using managed resources let's allow
> adding them to stack/group of devres resources.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
--
tejun
next prev parent reply other threads:[~2013-02-25 23:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-24 4:05 Dmitry Torokhov
2013-02-25 23:48 ` Tejun Heo [this message]
2013-02-26 0:11 ` Dmitry Torokhov
2013-02-26 0:32 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130225234801.GD2679@htj.dyndns.org \
--to=tj@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®