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


Groups > linux.kernel > #1329949

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

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] devm: add helper devm_add_action_or_reset()
Date 2016-02-09 08:30 +0100
Message-ID <r0aUi-Qk-7@gated-at.bofh.it> (permalink)
References <qIQIh-158-1@gated-at.bofh.it> <r04Yx-50D-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web