From patchwork Thu Jul 23 08:13:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 51384 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 6B1A622A9E for ; Thu, 23 Jul 2015 08:15:35 +0000 (UTC) Received: by wicmv11 with SMTP id mv11sf30132449wic.1 for ; Thu, 23 Jul 2015 01:15:34 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=kKypnSvr3gdq4m1vnynWXeu4hCJxu1nmwu22NsAZyvc=; b=EDP1FLA4Ps/q4F4fpEmek93SB/x0PGGD++vQPDSKFx0DClsIXq70/04/s4/oevQsO7 7Vh6u2qpj3ZAliR3Ow0bnFGEBHt45lr1BUeAGfRBjSCt54IKWwTRGdgMyN0u+is0PUSA js96yBjWytSrUgvYegU62uVAq3ByMICcORGZ17Phwxm7E7HjJEF5gEGtn4wE+VPHTg9T uzbJu6Lnc57HedIo3FovbeAq31Pynn624XG0FlJ2AUvLh5X0OV/NAVuXKjH+9tAZuHbk jxffqDQ5U2dHkTRJMUDehA8PEupfF+HJU3Q0lVN1Q9PGaOBZoHURhjrHZFiNJF6EePxl eudA== X-Gm-Message-State: ALoCoQlAl2CBBSsZA/Vin/UDUJbdL9D91HnhWhJ6jp18oB5K9Pz1fJv+0BOpflN35CLKMxNnpGAb X-Received: by 10.112.160.39 with SMTP id xh7mr3232471lbb.22.1437639334681; Thu, 23 Jul 2015 01:15:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.105 with SMTP id x9ls203903laj.11.gmail; Thu, 23 Jul 2015 01:15:34 -0700 (PDT) X-Received: by 10.112.83.135 with SMTP id q7mr6421854lby.13.1437639334471; Thu, 23 Jul 2015 01:15:34 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id i12si3463184lbq.73.2015.07.23.01.15.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 01:15:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lagw2 with SMTP id w2so152608681lag.3 for ; Thu, 23 Jul 2015 01:15:34 -0700 (PDT) X-Received: by 10.152.120.135 with SMTP id lc7mr6248194lab.41.1437639334371; Thu, 23 Jul 2015 01:15:34 -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.112.7.198 with SMTP id l6csp400340lba; Thu, 23 Jul 2015 01:15:33 -0700 (PDT) X-Received: by 10.107.14.65 with SMTP id 62mr10982548ioo.67.1437639332952; Thu, 23 Jul 2015 01:15:32 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c17si10215329pdk.20.2015.07.23.01.15.32; Thu, 23 Jul 2015 01:15:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821AbbGWIP3 (ORCPT + 12 others); Thu, 23 Jul 2015 04:15:29 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:34416 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751985AbbGWINb (ORCPT ); Thu, 23 Jul 2015 04:13:31 -0400 Received: by pdbbh15 with SMTP id bh15so107647767pdb.1 for ; Thu, 23 Jul 2015 01:13:31 -0700 (PDT) X-Received: by 10.70.135.67 with SMTP id pq3mr16013988pdb.8.1437639211078; Thu, 23 Jul 2015 01:13:31 -0700 (PDT) Received: from localhost ([122.171.186.190]) by smtp.gmail.com with ESMTPSA id xs13sm7405220pac.3.2015.07.23.01.13.29 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 23 Jul 2015 01:13:30 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux@arm.linux.org.uk, Viresh Kumar , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/3] cpufreq: print error messages with dev_err() Date: Thu, 23 Jul 2015 13:43:18 +0530 Message-Id: X-Mailer: git-send-email 2.4.0 In-Reply-To: <20150723060938.GD5322@linux> References: <20150723060938.GD5322@linux> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@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.215.43 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: , By mistake dev_err was replaced by dev_dbg in a recent patch, fix that. Fixes: 9b07109f06a1 ("cpufreq: Fix double addition of sysfs links") Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index fa718644f1ee..84504ae3fb38 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -1173,7 +1173,7 @@ static int cpufreq_add_dev(struct device *dev, struct subsys_interface *sif) pr_debug("%s: Adding symlink for CPU: %u\n", __func__, cpu); ret = sysfs_create_link(&dev->kobj, &policy->kobj, "cpufreq"); if (ret) { - dev_dbg(dev, "%s: Failed to create link (%d)\n", + dev_err(dev, "%s: Failed to create link (%d)\n", __func__, ret); return ret; }