From patchwork Wed May 18 12:25:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 68040 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp2604684qge; Wed, 18 May 2016 05:26:08 -0700 (PDT) X-Received: by 10.66.199.66 with SMTP id ji2mr10664063pac.34.1463574368604; Wed, 18 May 2016 05:26:08 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 74si11901390pfp.87.2016.05.18.05.26.08; Wed, 18 May 2016 05:26:08 -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; dkim=pass header.i=@linaro.org; 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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753179AbcERMZs (ORCPT + 29 others); Wed, 18 May 2016 08:25:48 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:33360 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753064AbcERMZp (ORCPT ); Wed, 18 May 2016 08:25:45 -0400 Received: by mail-pa0-f53.google.com with SMTP id xk12so17578238pac.0 for ; Wed, 18 May 2016 05:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=n7GG3WNbyzihBQvgbdHplwu9s7iYpgMwd9SCn8wfSVQ=; b=fV1MkGYwtkAQk6zd3DHJvyKB9kTmbuYHa15ZluCC+N2SZ1aAxH51xoWTsTNc4E3Pg5 mzkmlLHZJ52cTnHAN05cBht4ZqE6ImLCvSGA/lTJ4yUHuXPaRxEmY/LkcYosn98JD9pd Anafv3Z22WfM0enr4CeCr3q/LeQPeYDDKOoyE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=n7GG3WNbyzihBQvgbdHplwu9s7iYpgMwd9SCn8wfSVQ=; b=lMmmeN5NNu/SlfPDGvSUPjlu8A0S96xDA46M6aJ/8xEHCtTcsexeMSV0qFu+AoVp2v p96p9t+jghYRzwk3so13GDHNhecdZLw4p7XOYR3G8idnIuHLfXFSIXKdd9NmqUHYqwvG OmKPVDo31ET8d18JQZt3NeLBm6s1KrTj2+0kIPOjzTYsxKbIMD7JsTEKf1IvBA4p2Y0C qMkVRXhC6uUWMsK1qPCLcLKPEThqEjr2ErCQzfH00dSD0C117w23qjuK6NYW+2h1HhIn f2zrrEVyFVd+pxmSFB6JjFwjUGWlu5WvM7HSrdGy4fDSZmyCEuBj5ugYulfBOUSXUy4b 4h2g== X-Gm-Message-State: AOPr4FUJ3nolWYXP8I1Qj8z4a4Pk8FWEN/w0E4ChJ1X0uQa7RGxlPLyncQD0Mh6sUyBgMU1/ X-Received: by 10.66.183.168 with SMTP id en8mr10555285pac.64.1463574344732; Wed, 18 May 2016 05:25:44 -0700 (PDT) Received: from localhost ([122.172.42.124]) by smtp.gmail.com with ESMTPSA id s14sm10843778pag.7.2016.05.18.05.25.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 May 2016 05:25:44 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Viresh Kumar Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/6] cpufreq: governor: Remove unnecessary bits from print message Date: Wed, 18 May 2016 17:55:27 +0530 Message-Id: X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pr_*() helpers already prefix the print messages with "cpufreq_governor:" and similar details aren't required in the actual message. For example, the print message getting fixed looks like this before this patch: cpufreq_governor: cpufreq: Governor initialization failed (dbs_data kobject init error 0) Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_governor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.1.410.g6faf27b diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c index be498d56dd69..45ca5aff88b2 100644 --- a/drivers/cpufreq/cpufreq_governor.c +++ b/drivers/cpufreq/cpufreq_governor.c @@ -458,7 +458,7 @@ static int cpufreq_governor_init(struct cpufreq_policy *policy) goto out; /* Failure, so roll back. */ - pr_err("cpufreq: Governor initialization failed (dbs_data kobject init error %d)\n", ret); + pr_err("initialization failed (dbs_data kobject init error %d)\n", ret); policy->governor_data = NULL;