From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753573AbcBIHWz (ORCPT ); Tue, 9 Feb 2016 02:22:55 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:35614 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751435AbcBIHWx (ORCPT ); Tue, 9 Feb 2016 02:22:53 -0500 Date: Tue, 9 Feb 2016 12:52:42 +0530 From: Sudip Mukherjee To: Stephen Boyd Cc: Michael Turquette , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , linux-clk@vger.kernel.org Subject: Re: [PATCH 1/2] devm: add helper devm_add_action_or_reset() Message-ID: <20160209072242.GA10602@sudip-pc> References: <1450873640-12489-1-git-send-email-sudipm.mukherjee@gmail.com> <20160209010708.GI10791@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160209010708.GI10791@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > --- > > 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