Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754516AbbGXVjF (ORCPT ); Fri, 24 Jul 2015 17:39:05 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36649 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752539AbbGXVjC (ORCPT ); Fri, 24 Jul 2015 17:39:02 -0400 Date: Fri, 24 Jul 2015 14:39:00 -0700 From: Stephen Boyd To: Vaibhav Hiremath Cc: linux-arm-kernel@lists.infradead.org, Sangbeom Kim , Krzysztof Kozlowski , Michael Turquette , "open list:SAMSUNG MULTIFUNCTION PMIC DEVICE DRIVERS" , "open list:SAMSUNG MULTIFUNCTION PMIC DEVICE DRIVERS" , "open list:COMMON CLK FRAMEWORK" Subject: Re: [PATCH] clk: s2mps11: Use kcalloc instead of kzalloc for array allocation Message-ID: <20150724213900.GG15042@codeaurora.org> References: <1437557693-29433-1-git-send-email-vaibhav.hiremath@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437557693-29433-1-git-send-email-vaibhav.hiremath@linaro.org> 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: 837 Lines: 24 On 07/22, Vaibhav Hiremath wrote: > This patch cleans up the driver for, > > - Use devm_kcalloc varient instead of devm_kzalloc for array > allocation. > - clk_prepare/unprepare, remove "ret" variable as it is not required > - use __exit for cleanup function > > As I am referring this driver as a reference for my 88pm800 clk driver, > applying same changes here as well. > > Signed-off-by: Vaibhav Hiremath > --- Applied to clk-next -- 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/