From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932315AbcBIBHS (ORCPT ); Mon, 8 Feb 2016 20:07:18 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:55656 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653AbcBIBHQ (ORCPT ); Mon, 8 Feb 2016 20:07:16 -0500 Date: Mon, 8 Feb 2016 17:07:08 -0800 From: Stephen Boyd To: Sudip Mukherjee 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: <20160209010708.GI10791@codeaurora.org> References: <1450873640-12489-1-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450873640-12489-1-git-send-email-sudipm.mukherjee@gmail.com> 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 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 -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project