From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Date: Thu, 20 Oct 2016 23:42:03 +0000 Subject: Re: [PATCH v2] clk: at91: Fix a return value in case of error Message-Id: <20161020234203.GE26139@codeaurora.org> List-Id: References: <1474804438-27804-1-git-send-email-christophe.jaillet@wanadoo.fr> In-Reply-To: <1474804438-27804-1-git-send-email-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christophe JAILLET Cc: boris.brezillon@free-electrons.com, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On 09/25, Christophe JAILLET wrote: > If 'clk_hw_register()' fails, it is likely that we expect to return an > error instead of a valid pointer (which would mean success). > > Fix commit f5644f10dcfb ("clk: at91: Migrate to clk_hw based registration > and OF APIs") > > Signed-off-by: Christophe JAILLET > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project