Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1329806 > unrolled thread

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

Started byStephen Boyd <sboyd@codeaurora.org>
First post2016-02-09 02:10 +0100
Last post2016-02-09 19:30 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/2] devm: add helper devm_add_action_or_reset() Stephen Boyd <sboyd@codeaurora.org> - 2016-02-09 02:10 +0100
    Re: [PATCH 1/2] devm: add helper devm_add_action_or_reset() Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-02-09 08:30 +0100
      Re: [PATCH 1/2] devm: add helper devm_add_action_or_reset() Stephen Boyd <sboyd@codeaurora.org> - 2016-02-09 19:30 +0100

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

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-02-09 02:10 +0100
SubjectRe: [PATCH 1/2] devm: add helper devm_add_action_or_reset()
Message-ID<r04Yx-50D-13@gated-at.bofh.it>
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@vectorindia.org>
> ---

Applied to clk-next

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

[toc] | [next] | [standalone]


#1329949

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2016-02-09 08:30 +0100
Message-ID<r0aUi-Qk-7@gated-at.bofh.it>
In reply to#1329806
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@vectorindia.org>
> > ---
> 
> 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.

regards
sudip

[toc] | [prev] | [next] | [standalone]


#1330576

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-02-09 19:30 +0100
Message-ID<r0ld1-7On-31@gated-at.bofh.it>
In reply to#1329949
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@vectorindia.org>
> > > ---
> > 
> > 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web