Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755309AbbGRAwc (ORCPT ); Fri, 17 Jul 2015 20:52:32 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:37270 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752682AbbGRAwb (ORCPT ); Fri, 17 Jul 2015 20:52:31 -0400 Date: Fri, 17 Jul 2015 17:52:27 -0700 From: Stephen Boyd To: dinguyen@opensource.altera.com Cc: mturquette@linaro.org, dinh.linux@gmail.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Maxime Ripard , Emilio =?iso-8859-1?Q?L=F3pez?= Subject: Re: [PATCHv2 5/6] clk: sunxi: make use of of_clk_parent_fill helper function Message-ID: <20150718005227.GY30412@codeaurora.org> References: <1436241546-16731-1-git-send-email-dinguyen@opensource.altera.com> <1436241546-16731-6-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1436241546-16731-6-git-send-email-dinguyen@opensource.altera.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 Content-Length: 1179 Lines: 33 On 07/06, dinguyen@opensource.altera.com wrote: > From: Dinh Nguyen > > Use of_clk_parent_fill to fill in the parent clock names' array. > > Signed-off-by: Dinh Nguyen > Cc: Maxime Ripard > Cc: "Emilio L?pez" > --- Adds a warning. Squashed this in: diff --git a/drivers/clk/sunxi/clk-sun6i-ar100.c b/drivers/clk/sunxi/clk-sun6i-ar100.c index a203b6f62ee7..3a2ea010f148 100644 --- a/drivers/clk/sunxi/clk-sun6i-ar100.c +++ b/drivers/clk/sunxi/clk-sun6i-ar100.c @@ -182,7 +182,6 @@ static int sun6i_a31_ar100_clk_probe(struct platform_device *pdev) struct resource *r; struct clk *clk; int nparents; - int i; ar100 = devm_kzalloc(&pdev->dev, sizeof(*ar100), GFP_KERNEL); if (!ar100) -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- 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/