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

From: Stephen Boyd
Date: Tue Feb 09 2016 - 13:29:46 EST


On 02/09, Sudip Mukherjee wrote:
> On Mon, Feb 08, 2016 at 05:07:08PM -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>
> > > ---
> >
> > Applied to clk-next
>
> Thanks. Since it went through clk-tree so I guess I can use this helper
> for other drivers only after 4.6 merge window closes.
>

Yep.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project