Message ID | d360be8235493fb5b9ba0d1a5fe3e840b7131132.1420181916.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBJMGTGSQKGQEPBDJFNA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8656426CD1 for <linaro@patches.linaro.org>; Fri, 2 Jan 2015 07:05:10 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf10495158lbj.7 for <linaro@patches.linaro.org>; Thu, 01 Jan 2015 23:05:09 -0800 (PST) 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: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=QyW/uPAOl+YkOpJmE/+LqDi5GSSH8bEJd3ouIQPYqr8=; b=MsHNAi0Nt45m8f2QkngZP0ZXWmuoJtkTRfPxeCaewNtTJsgJn2syCm3Oc/YHwmE/oi KbbdbHHSl3EBJqXobztH+c9EZ2m9OA5fbX0DhtCgf7yvzPS8U/4FfTMSpIjsf+h7BrZD ksTs1k7uDYNQ+ecALYcLhhTl2CD6/MVWMxAWWxJNxQ3eVOTptu3OgMbg8mIY1TfUkbYt HivyZgNZ++n/RYaZ8NdeNkdBpG1cZIMkqUqll78CoJdH7S6uCKWcpe5Jp3THtI1hyyZz HTsITKATuSaI03ZY/NI2qRXWpJDhtx+RUXXTlbSu4561wqA6XgRvhwRjzEVOtn2yconn SeSw== X-Gm-Message-State: ALoCoQl5tGcoh/OwXuBBoBMAHwNKEJtdavGoRqr+J6arjb1NyUT+HwWXxRDm05rt0G81wNlMtve7 X-Received: by 10.112.43.65 with SMTP id u1mr10630lbl.16.1420182309257; Thu, 01 Jan 2015 23:05:09 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.37 with SMTP id 5ls2458115laz.81.gmail; Thu, 01 Jan 2015 23:05:08 -0800 (PST) X-Received: by 10.112.13.103 with SMTP id g7mr8577911lbc.29.1420182308914; Thu, 01 Jan 2015 23:05:08 -0800 (PST) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id n3si41920804laj.50.2015.01.01.23.05.08 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Jan 2015 23:05:08 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by mail-la0-f42.google.com with SMTP id gd6so15482483lab.1 for <patchwork-forward@linaro.org>; Thu, 01 Jan 2015 23:05:08 -0800 (PST) X-Received: by 10.152.26.201 with SMTP id n9mr75604333lag.50.1420182308133; Thu, 01 Jan 2015 23:05:08 -0800 (PST) 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.9.200 with SMTP id c8csp126074lbb; Thu, 1 Jan 2015 23:05:07 -0800 (PST) X-Received: by 10.70.91.239 with SMTP id ch15mr118409386pdb.142.1420182305710; Thu, 01 Jan 2015 23:05:05 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id la3si26847561pab.123.2015.01.01.23.05.04; Thu, 01 Jan 2015 23:05:05 -0800 (PST) Received-SPF: none (google.com: linux-pm-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 S1750722AbbABHFD (ORCPT <rfc822;amit.pundir@linaro.org> + 12 others); Fri, 2 Jan 2015 02:05:03 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:35670 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbbABHFD (ORCPT <rfc822;linux-pm@vger.kernel.org>); Fri, 2 Jan 2015 02:05:03 -0500 Received: by mail-pa0-f54.google.com with SMTP id fb1so23597164pad.41 for <linux-pm@vger.kernel.org>; Thu, 01 Jan 2015 23:05:02 -0800 (PST) X-Received: by 10.66.157.5 with SMTP id wi5mr53395060pab.37.1420182302066; Thu, 01 Jan 2015 23:05:02 -0800 (PST) Received: from localhost ([122.167.116.151]) by mx.google.com with ESMTPSA id b11sm45602167pdl.56.2015.01.01.23.05.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 01 Jan 2015 23:05:01 -0800 (PST) From: Viresh Kumar <viresh.kumar@linaro.org> To: Rafael Wysocki <rjw@rjwysocki.net> Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, prarit@redhat.com, skannan@codeaurora.org, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH 02/17] cpufreq: remove extra parenthesis Date: Fri, 2 Jan 2015 12:34:23 +0530 Message-Id: <d360be8235493fb5b9ba0d1a5fe3e840b7131132.1420181916.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.2.0 In-Reply-To: <cover.1420181916.git.viresh.kumar@linaro.org> References: <cover.1420181916.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1420181916.git.viresh.kumar@linaro.org> References: <cover.1420181916.git.viresh.kumar@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> 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.42 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 891672b913c8..8417313943d5 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -902,7 +902,7 @@ static int cpufreq_add_dev_interface(struct cpufreq_policy *policy, /* set up files for this cpu device */ drv_attr = cpufreq_driver->attr; - while ((drv_attr) && (*drv_attr)) { + while (drv_attr && *drv_attr) { ret = sysfs_create_file(&policy->kobj, &((*drv_attr)->attr)); if (ret) return ret;
We can live without it and so we should. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)