From patchwork Thu Jun 26 08:51:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 32538 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9ED2A201EF for ; Thu, 26 Jun 2014 08:52:02 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id uz6sf17705701obc.0 for ; Thu, 26 Jun 2014 01:52:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=4EF9b4sNrCrJ04G9JdclzquCL6zNtcPI6qLK+gXhYOg=; b=jjqcGtn2Bz7rAuo/V9qTDyaSR7dd76MsK1QUmGUoyLhHWrhwYE3YN7ox9VU98ELLTs 3CDgynw6zQ8QSShTFl3EiHeEVTipdlc5OoTz8f2W+K8zm9ObSJnCm5YPUaRFEvJO1SNK dCUSwwTuq/T+KgnawIEfB7fZFIho4kdbjdkmvVq9yt+14EtheKhVFMlddGcvkyiNxGQG 6KG66Bj7IO/xHHdt26m7FjsCgoK7/SGuYRLxkcHyVTsqtxjb1dLWckJMcu7wlpWhiO+/ PONra63VV3TI5EDgrSdBqo+51i5TidJesp+g+mUpgP5BiUpcNAkmfLO069lCAdKcM/1/ T8wg== X-Gm-Message-State: ALoCoQk1tT1OooM16paetJyE5SvG3/k2pfdER6JeqtHkUvFbtgFfRnt2W1k9UXsK9moaof7Cj0sH X-Received: by 10.182.28.136 with SMTP id b8mr7619230obh.19.1403772722290; Thu, 26 Jun 2014 01:52:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.106.134 with SMTP id e6ls118587qgf.34.gmail; Thu, 26 Jun 2014 01:52:02 -0700 (PDT) X-Received: by 10.58.12.73 with SMTP id w9mr12263450veb.13.1403772722188; Thu, 26 Jun 2014 01:52:02 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id br4si3939006vcb.106.2014.06.26.01.52.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Jun 2014 01:52:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.173 as permitted sender) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id db11so3289583veb.4 for ; Thu, 26 Jun 2014 01:52:02 -0700 (PDT) X-Received: by 10.52.171.18 with SMTP id aq18mr881375vdc.45.1403772722075; Thu, 26 Jun 2014 01:52:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp14910vcb; Thu, 26 Jun 2014 01:52:01 -0700 (PDT) X-Received: by 10.69.3.67 with SMTP id bu3mr19439307pbd.34.1403772721352; Thu, 26 Jun 2014 01:52:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rq3si8878301pbb.81.2014.06.26.01.52.00; Thu, 26 Jun 2014 01:52:00 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755336AbaFZIvu (ORCPT + 27 others); Thu, 26 Jun 2014 04:51:50 -0400 Received: from mail-qc0-f169.google.com ([209.85.216.169]:39437 "EHLO mail-qc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751857AbaFZIvs (ORCPT ); Thu, 26 Jun 2014 04:51:48 -0400 Received: by mail-qc0-f169.google.com with SMTP id c9so2893302qcz.0 for ; Thu, 26 Jun 2014 01:51:47 -0700 (PDT) X-Received: by 10.229.13.134 with SMTP id c6mr19709256qca.13.1403772707327; Thu, 26 Jun 2014 01:51:47 -0700 (PDT) Received: from localhost (ec2-23-23-178-99.compute-1.amazonaws.com. [23.23.178.99]) by mx.google.com with ESMTPSA id i31sm3869234qgf.41.2014.06.26.01.51.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 26 Jun 2014 01:51:46 -0700 (PDT) From: Viresh Kumar To: rjw@rjwysocki.net Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, arvind.chauhan@arm.com, Viresh Kumar Subject: [PATCH] cpufreq: report driver's successful {un}registration Date: Thu, 26 Jun 2014 14:21:30 +0530 Message-Id: <9e68cba2bf41923630ea93de7c3d17637f175895.1403772686.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.0.0.rc2 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , We do report driver's successful {un}registration from cpufreq core, but is done with pr_debug() and so this doesn't appear in boot logs. Convert this to pr_info() to make it visible in logs. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 62259d2..63d8f8f 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -2468,7 +2468,7 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data) } register_hotcpu_notifier(&cpufreq_cpu_notifier); - pr_debug("driver %s up and running\n", driver_data->name); + pr_info("driver %s up and running\n", driver_data->name); return 0; err_if_unreg: @@ -2499,7 +2499,7 @@ int cpufreq_unregister_driver(struct cpufreq_driver *driver) if (!cpufreq_driver || (driver != cpufreq_driver)) return -EINVAL; - pr_debug("unregistering driver %s\n", driver->name); + pr_info("unregistering driver %s\n", driver->name); subsys_interface_unregister(&cpufreq_interface); if (cpufreq_boost_supported())