From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755619AbaIIAhq (ORCPT ); Mon, 8 Sep 2014 20:37:46 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:44942 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754562AbaIIAhn (ORCPT ); Mon, 8 Sep 2014 20:37:43 -0400 Message-ID: <540E4BD6.4030200@codeaurora.org> Date: Mon, 08 Sep 2014 17:37:42 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Viresh Kumar CC: Mike Turquette , Linux Kernel Mailing List , "linux-arm-msm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" Subject: Re: [PATCH v2 14/15] cpufreq: Add module to register cpufreq on Krait CPUs References: <1409957256-23729-1-git-send-email-sboyd@codeaurora.org> <1409957256-23729-16-git-send-email-sboyd@codeaurora.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/07/14 21:46, Viresh Kumar wrote: > On 6 September 2014 04:17, Stephen Boyd wrote: > >> + * This program is free software; you can redistribute it and/or modify >> + * it under the terms of the GNU General Public License version 2 and >> + * only version 2 as published by the Free Software Foundation. >> + * >> + * This program is distributed in the hope that it will be useful, >> + * but WITHOUT ANY WARRANTY; without even the implied warranty of >> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> + * GNU General Public License for more details. >> + */ >> + >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include > Would be good if these can be in alphanumeric order. That helps maintaining > them later on.. Ok. > >> +static int __init qcom_cpufreq_populate_opps(void) >> +{ >> + int len, num_rows, i, k; >> + char table_name[] = "qcom,speedXX-pvsXX-bin-vXX"; >> + struct device_node *np; >> + struct device *dev; >> + int cpu = 0; >> + int speed, pvs, pvs_ver; >> + int cols; > All the 'int' declarations can be combined in a single line if you would like. Sure. >> + >> +MODULE_DESCRIPTION("Qualcomm CPUfreq driver"); > A module author as well? How about we use git blame instead? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation