From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B42D4C2D0A3 for ; Mon, 9 Nov 2020 06:59:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 496EC206C0 for ; Mon, 9 Nov 2020 06:59:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JUlMujb0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729609AbgKIG76 (ORCPT ); Mon, 9 Nov 2020 01:59:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728873AbgKIG75 (ORCPT ); Mon, 9 Nov 2020 01:59:57 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6197C0613D3 for ; Sun, 8 Nov 2020 22:59:57 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id r10so6312942pgb.10 for ; Sun, 08 Nov 2020 22:59:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=a31SK/qb8dqpXv8PZA8tXebjDkucH7GRxd49ZlBWSb4=; b=JUlMujb0yYGNXl7MjWe2ujzAMl0DfC8/v3VWxwwI7yU0aj9U2xHgQVVlcpzgPDieIf /s31/ltC5CbugWyX2lS1Ryh/xiPFPka+rlFArDKG84AEvyO2X/qmxirywcx7ZRHKtBZ6 AABCy2asbqlA+YBD8/Sr521/6aHJL9IFoPSipiONMs/8x/sjtJN+0ZYwga3sXe5olC0A d+a6SUcbYUnLpO/71YQ1C6wZeLYU3is+Slk1eIf+R0HPKkUWf4gL5ovJyBlW5nusXaZX NbF+SIJCftWWMeRPjin6VxUpodycImFs3r/Ytwp7WvmGAV0Ex9i/7MIBJ0UeGEcvrekR PaAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=a31SK/qb8dqpXv8PZA8tXebjDkucH7GRxd49ZlBWSb4=; b=VR97PW9Dvm5ZjAT3RcIIdxY7kteR/dG1e+YJ9hzXdEQZOr90RPk6jAqVGhGFi+QHIv I1G4B6RqFPo7AFRRLjmC6ej7p+Wt+UHHekvIHAfShst/p2L4CjzBHxrjioHVMPbqtdO2 En45792Wm1rIZJ7fu5yRrfERYAZ1FhldSTi2eG4LvmVQd8MLdQcXER5qI7ZS+EDT3JPG UuyT3Euco8isgtCC/jrrYjTgDUazvO17UK7Auv2UYO+Re+Pp72v6NlPBS4oNxVBX2e3o xvgCuDKo9DBZAHNRneV+IbGYPsvIAlpjmjw5t7sidiYMmpTiE+tSI63+IxhLCXxQDcVp MWYw== X-Gm-Message-State: AOAM531wgzIuy6bHJpfsgGV5r2yDOADB4/yZRBhMGOCrHtS3au3S6Og7 uObumzm73UKqcLRAhaACQMiAmA== X-Google-Smtp-Source: ABdhPJyfvrlGyz61/SbF5FcXsen4Dk77CB/SrqBvQNPM0ZmRjCXZttoLdWQcNsgGMiKTlpid3cgNjw== X-Received: by 2002:a17:90a:de15:: with SMTP id m21mr11923823pjv.180.1604905197349; Sun, 08 Nov 2020 22:59:57 -0800 (PST) Received: from localhost ([122.172.12.172]) by smtp.gmail.com with ESMTPSA id v186sm1659890pfb.152.2020.11.08.22.59.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Nov 2020 22:59:56 -0800 (PST) Date: Mon, 9 Nov 2020 12:29:54 +0530 From: Viresh Kumar To: Ionela Voinescu Cc: rjw@rjwysocki.net, lenb@kernel.org, sudeep.holla@arm.com, morten.rasmussen@arm.com, jeremy.linton@arm.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/8] cppc_cpufreq: clean up cpu, cpu_num and cpunum variable use Message-ID: <20201109065954.zjrghmexd3dptat3@vireshk-i7> References: <20201105125524.4409-1-ionela.voinescu@arm.com> <20201105125524.4409-3-ionela.voinescu@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201105125524.4409-3-ionela.voinescu@arm.com> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05-11-20, 12:55, Ionela Voinescu wrote: > In order to maintain the typical naming convention in the cpufreq > framework: > - replace the use of "cpu" variable name for cppc_cpudata pointers > with "cpu_data" > - replace variable names "cpu_num" and "cpunum" with "cpu" > - make cpu variables unsigned int > > Where pertinent, also move the initialisation of cpu_data variable to > its declaration and make consistent use of the local "cpu" variable. > > Signed-off-by: Ionela Voinescu > Cc: Rafael J. Wysocki > Cc: Viresh Kumar > --- > drivers/cpufreq/cppc_cpufreq.c | 143 ++++++++++++++++----------------- > 1 file changed, 69 insertions(+), 74 deletions(-) Acked-by: Viresh Kumar -- viresh