From patchwork Mon Apr 29 13:24:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 2500261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 80C673FD1A for ; Mon, 29 Apr 2013 13:28:06 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UWo6W-0003Tj-I1; Mon, 29 Apr 2013 13:26:53 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UWo5x-0001Np-GL; Mon, 29 Apr 2013 13:26:17 +0000 Received: from mail-pa0-f45.google.com ([209.85.220.45]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UWo5X-0001LI-Tl for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2013 13:25:52 +0000 Received: by mail-pa0-f45.google.com with SMTP id lf10so3672255pab.18 for ; Mon, 29 Apr 2013 06:25:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:x-gm-message-state; bh=2FPgenioBYsA3XGK7Zmbmq1a2cgMflPc9Chcs3L03jU=; b=Oo/JpRul6SSsLan2V0+cGLph/7CSnHuLtu+Uq2SUxdkSAhCqpeUgesLqn9cI0ZAcrU jMfHoMElrG9xi40bbFRPf0rXd1NgEGFvV8fsyzw9DlHAKZsWt28oom8bBids777/0p1S ckcwgX3E19IJrVYnLUNNiv6Ix85KIBMfATQs1gyYpyMYRLw0YG/W7SPTi/UpbpafatzP 1i/N5E8IQ0PYKT/Yuq6cC9vpQdE91jqrW9phizCj/oaGq0TbAedayzmrufhApPu2CSFL ry9QCUcp2aResFivVAx/Dq4rAaRj+zXoOexVWoLoX1BKRQRZu7fQem9s9nFo9ZOlNvSe Lxww== X-Received: by 10.66.19.201 with SMTP id h9mr42338282pae.188.1367241950414; Mon, 29 Apr 2013 06:25:50 -0700 (PDT) Received: from localhost ([122.172.192.131]) by mx.google.com with ESMTPSA id wz9sm24105443pbc.5.2013.04.29.06.25.45 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 29 Apr 2013 06:25:49 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl Subject: [PATCH 5/5] cpufreq: ARM big LITTLE: Improve print message Date: Mon, 29 Apr 2013 18:54:48 +0530 Message-Id: <61da22c0f40fb46dc31f0ad5183b4ea51dda518c.1367241503.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQnj8vYSusQRogjL5bYkVNLVO/H1HnN5ee1GGnZBwG0k9NHTtPRwzhiOAxRLjGJTn/fNp5tC X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130429_092552_110204_8BCE0B65 X-CRM114-Status: GOOD ( 10.67 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.45 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: robin.randhawa@arm.com, linux-pm@vger.kernel.org, Viresh Kumar , patches@linaro.org, Liviu.Dudau@arm.com, linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org, linaro-kernel@lists.linaro.org, Steve.Bannister@arm.com, arvind.chauhan@arm.com, linux-arm-kernel@lists.infradead.org, charles.garcia-tobin@arm.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Print message at the end of driver->init() doesn't carry "cpufreq" string at all and so is difficult to find in dmesg. Add function name in message to clearly state where the message is coming from. Signed-off-by: Viresh Kumar --- drivers/cpufreq/arm_big_little.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/arm_big_little.c b/drivers/cpufreq/arm_big_little.c index fd7beed..5d7f53f 100644 --- a/drivers/cpufreq/arm_big_little.c +++ b/drivers/cpufreq/arm_big_little.c @@ -187,7 +187,7 @@ static int bL_cpufreq_init(struct cpufreq_policy *policy) cpumask_copy(policy->cpus, topology_core_cpumask(policy->cpu)); - dev_info(cpu_dev, "CPU %d initialized\n", policy->cpu); + dev_info(cpu_dev, "%s: CPU %d initialized\n", __func__, policy->cpu); return 0; }