lkml.org 
[lkml]   [2013]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC/PATCH] devres: allow adding custom actions to the stack
    On Mon, Feb 25, 2013 at 04:11:51PM -0800, Dmitry Torokhov wrote:
    > 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.

    No objection from me:

    Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>


    \
     
     \ /
      Last update: 2013-02-26 02:04    [W:4.856 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site