mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Tejun Heo <tj@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC/PATCH] devres: allow adding custom actions to the stack
Date: Mon, 25 Feb 2013 16:11:51 -0800	[thread overview]
Message-ID: <20130226001150.GC13272@core.coreip.homeip.net> (raw)
In-Reply-To: <20130225234801.GD2679@htj.dyndns.org>

On Mon, Feb 25, 2013 at 03:48:01PM -0800, Tejun Heo wrote:
> 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.

Greg, if possible I'd like to carry this in my tree as I have driver
changes depending on this.

Thanks.

-- 
Dmitry

  reply	other threads:[~2013-02-26  0:12 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
2013-02-26  0:11   ` Dmitry Torokhov [this message]
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=20130226001150.GC13272@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@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®