Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755221AbbL3VFT (ORCPT ); Wed, 30 Dec 2015 16:05:19 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:34276 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754913AbbL3VFO convert rfc822-to-8bit (ORCPT ); Wed, 30 Dec 2015 16:05:14 -0500 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Boris Brezillon , "Thierry Reding" , linux-pwm@vger.kernel.org From: Michael Turquette In-Reply-To: <1447664207-24370-15-git-send-email-boris.brezillon@free-electrons.com> Cc: "Stephen Boyd" , linux-clk@vger.kernel.org, "Mark Brown" , "Liam Girdwood" , "Kamil Debski" , lm-sensors@lm-sensors.org, "Jean Delvare" , "Guenter Roeck" , "Dmitry Torokhov" , linux-input@vger.kernel.org, "Bryan Wu" , "Richard Purdie" , "Jacek Anaszewski" , linux-leds@vger.kernel.org, "Maxime Ripard" , "Chen-Yu Tsai" , linux-sunxi@googlegroups.com, "Joachim Eastwood" , "Thomas Petazzoni" , "Heiko Stuebner" , linux-rockchip@lists.infradead.org, "Jingoo Han" , "Lee Jones" , linux-fbdev@vger.kernel.org, "Jean-Christophe Plagniol-Villard" , "Tomi Valkeinen" , "Robert Jarzmik" , "Alexandre Belloni" , "Julia Lawall" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Boris Brezillon" References: <1447664207-24370-1-git-send-email-boris.brezillon@free-electrons.com> <1447664207-24370-15-git-send-email-boris.brezillon@free-electrons.com> Message-ID: <20151230210511.19557.73321@quark.deferred.io> User-Agent: alot/0.3.6 Subject: Re: [PATCH v4 14/24] clk: pwm: use pwm_get/set_default_xxx() helpers where appropriate Date: Wed, 30 Dec 2015 13:05:11 -0800 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 33 Hi Boris, Quoting Boris Brezillon (2015-11-16 00:56:37) > pwm_set/get_default_xxx() helpers have been introduced to differentiate > the default PWM states (those retrieved through DT, PWM lookup table or > statically assigned by the driver) and the current ones. > Make use of those helpers where appropriate. > > Signed-off-by: Boris Brezillon > --- > drivers/clk/clk-pwm.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/clk/clk-pwm.c b/drivers/clk/clk-pwm.c > index b6306a2..642a49a 100644 > --- a/drivers/clk/clk-pwm.c > +++ b/drivers/clk/clk-pwm.c > @@ -71,23 +71,23 @@ static int clk_pwm_probe(struct platform_device *pdev) > if (IS_ERR(pwm)) > return PTR_ERR(pwm); > > - if (!pwm_get_period((pwm))) { > + if (!pwm_get_default_period((pwm))) { The change itself looks fine, but the semantic patch added extra parens. Can you remove them? After doing so feel free to add: Acked-by: Michael Turquette -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/