Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754569AbdGSVCv (ORCPT ); Wed, 19 Jul 2017 17:02:51 -0400 Received: from mleia.com ([178.79.152.223]:33539 "EHLO mail.mleia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753443AbdGSVCt (ORCPT ); Wed, 19 Jul 2017 17:02:49 -0400 Subject: Re: [PATCH v7 2/3] clk: gate: expose clk_gate_ops::is_enabled To: gabriel.fernandez@st.com References: <1500474344-9832-1-git-send-email-gabriel.fernandez@st.com> <1500474344-9832-3-git-send-email-gabriel.fernandez@st.com> Cc: Rob Herring , Mark Rutland , Russell King , Maxime Coquelin , Alexandre Torgue , Michael Turquette , Stephen Boyd , Nicolas Pitre , Arnd Bergmann , daniel.thompson@linaro.org, andrea.merello@gmail.com, radoslaw.pietrzyk@gmail.com, Lee Jones , Sylvain Lemieux , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, ludovic.barre@st.com, olivier.bideau@st.com, amelie.delaunay@st.com, gabriel.fernandez.st@gmail.com, Arvind Yadav From: Vladimir Zapolskiy Message-ID: Date: Thu, 20 Jul 2017 00:02:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <1500474344-9832-3-git-send-email-gabriel.fernandez@st.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20170719_220247_751132_D34ABF3F X-CRM114-Status: GOOD ( 10.85 ) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 576 Lines: 18 On 07/19/2017 05:25 PM, gabriel.fernandez@st.com wrote: > From: Gabriel Fernandez > > This patch exposes clk_gate_ops::is_enabled as functions > that can be directly called and assigned in places like this so > we don't need wrapper functions that do nothing besides forward > the call. > > Signed-off-by: Gabriel Fernandez > Sugested by Stephen Boyd Fixing the spelling etc. I believe the last tag line should be Suggested-by: Stephen Boyd -- With best wishes, Vladimir