Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1341170ybg; Fri, 18 Oct 2019 16:18:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqythxzYmhiYfNbCGnEFZkSrXN4OLjECq5MPPYuqCjTU86BBWsEztHpXkvxCesrABbnFD7dK X-Received: by 2002:a17:906:95cc:: with SMTP id n12mr9445329ejy.111.1571440701419; Fri, 18 Oct 2019 16:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571440701; cv=none; d=google.com; s=arc-20160816; b=wPJ11rsAwhVyy8g16NpwNlyuHTRnBTz+HrdVtuWHH09ZCBtEONPtpraTwUAMyyi/2I DrpUjddnIrVmO6WW4Y59zNiJygjchO+irLtq1AzgfY9COUbxPX+PVr8w3mUjDG0CAmcr gJkmUDEI9Qxr4EkasO5f45bOQlyWawf4ifNwMQACKiX6I6xr+uxn4zKc9VmS0D0Yn0Sd D+aDC4t9RJqhaVGbQFmowrw1dxHkgp//Td7Anyhb23JWIC5Lu3Hp0D1KodqBVbeuwTac S8j2bvLEhgyhUxrEbBhIThvUtGwscUyI5pr6qhQDjLExqL0UATBLpZsl9AvMyrz6LCZV vneQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=rRkKwqE9sUeVBAC0UOf3TMwd2XacQm1Lz+Agg6GMfNM=; b=gj/g/a4z0WpD/8swqZY22CHuWOy/A7C3N/Ispfw9wuIJReaMbMKOAWzA1DIrjckGRX Vt42xrpkAEYnY2aY0UCdEnoEMwTQiruXLKnWM+KR0ptrw2aU2ytEfozCRc/k0l81+3u5 2h1s86E8S84XWVgxp/7U7/VmoeWyABnZ+O7f2Sjt15jSyjgGrqg65igSRsk/Gd1qKed4 nSRsv8ZUavRHGTBTY/ble7BgOp3RljaDM7uK9k6Tll6oNlGXDbxFXlxAo5QG6bvDt0CX NtWEH2E0nUOv9kjAdY8laEdyrMwgVS3Cp4yzqPbAYkellFPdITFfr2+FuuiJfURtRJUr Z80A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dv24si4259529ejb.60.2019.10.18.16.17.58; Fri, 18 Oct 2019 16:18:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2504140AbfJRGBd (ORCPT + 99 others); Fri, 18 Oct 2019 02:01:33 -0400 Received: from [217.140.110.172] ([217.140.110.172]:55498 "EHLO foss.arm.com" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S2390743AbfJRGBc (ORCPT ); Fri, 18 Oct 2019 02:01:32 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6036832D; Thu, 17 Oct 2019 23:01:07 -0700 (PDT) Received: from e107533-lin.cambridge.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 28B6F3F68E; Thu, 17 Oct 2019 23:03:51 -0700 (PDT) Date: Fri, 18 Oct 2019 07:00:54 +0100 From: Sudeep Holla To: Viresh Kumar Cc: "Rafael J . Wysocki" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, nico@fluxnic.net Subject: Re: [PATCH v2 4/5] cpufreq: vexpress-spc: remove lots of debug messages Message-ID: <20191018060054.GE31836@e107533-lin.cambridge.arm.com> References: <20191017123508.26130-1-sudeep.holla@arm.com> <20191017123508.26130-5-sudeep.holla@arm.com> <20191018055720.za3a5zeqdzcupc4h@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191018055720.za3a5zeqdzcupc4h@vireshk-i7> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2019 at 11:27:20AM +0530, Viresh Kumar wrote: > On 17-10-19, 13:35, Sudeep Holla wrote: > > This driver have been used and tested for year now and the extensive > > debug/log messages in the driver are not really required anymore. > > Get rid of those unnecessary log messages. > > > > Signed-off-by: Sudeep Holla > > --- > > drivers/cpufreq/vexpress-spc-cpufreq.c | 72 +++++--------------------- > > 1 file changed, 13 insertions(+), 59 deletions(-) > > > > diff --git a/drivers/cpufreq/vexpress-spc-cpufreq.c b/drivers/cpufreq/vexpress-spc-cpufreq.c > > static void put_cluster_clk_and_freq_table(struct device *cpu_dev, > > @@ -324,11 +296,9 @@ static void put_cluster_clk_and_freq_table(struct device *cpu_dev, > > > > for_each_present_cpu(i) { > > struct device *cdev = get_cpu_device(i); > > - if (!cdev) { > > - pr_err("%s: failed to get cpu%d device\n", __func__, i); > > - return; > > - } > > > > + if (!cdev) > > + return; > > We had a blank line after this, which isn't there in your version > anymore. Please keep that here and few more places below. > Ah, this one is spurious change when doing in bulk not intended. I will add back the blank line. -- Regards, Sudeep