Re: [PATCH 1/2] devm: add helper devm_add_action_or_reset()

From: Greg Kroah-Hartman
Date: Mon Feb 08 2016 - 18:14:07 EST


On Mon, Feb 08, 2016 at 02:35:46PM -0800, Stephen Boyd wrote:
> On 12/23, Sudip Mukherjee wrote:
> > Add a helper function devm_add_action_or_reset() which will internally
> > call devm_add_action(). But if devm_add_action() fails then it will
> > execute the action mentioned and return the error code.
> >
> > Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>
> > ---
>
> Greg, can I get your ack here to take this through clk-tree?

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>