From patchwork Thu Mar 16 05:29:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 95372 Delivered-To: patch@linaro.org Received: by 10.140.89.134 with SMTP id v6csp660554qgd; Wed, 15 Mar 2017 22:30:12 -0700 (PDT) X-Received: by 10.98.200.136 with SMTP id i8mr8317052pfk.120.1489642212197; Wed, 15 Mar 2017 22:30:12 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si4160680pgo.251.2017.03.15.22.30.11; Wed, 15 Mar 2017 22:30:12 -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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751328AbdCPFaG (ORCPT + 25 others); Thu, 16 Mar 2017 01:30:06 -0400 Received: from mail-pg0-f42.google.com ([74.125.83.42]:35227 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980AbdCPFaD (ORCPT ); Thu, 16 Mar 2017 01:30:03 -0400 Received: by mail-pg0-f42.google.com with SMTP id b129so19564768pgc.2 for ; Wed, 15 Mar 2017 22:30:03 -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=/4onPWiQOasvHXtTdaEX/Nd90XH8HfBgBVHn2mEivcY=; b=IK9+7zzNFXqmgIgoIB88OX+GSby5Bbu6yStZ+Yf+SnvDwLT5Wkx4dCOGMo8GBSvfby PDkyhjOWE/3HAm+95c7RrtZxa5xOMUFapJYRxZWVuhI2MZ8hHGiRTOElYGfC/uI9xTeC ygQ4cm7RVKr+5CLOlfn8Y+hk/HBu1klwop+Jc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=/4onPWiQOasvHXtTdaEX/Nd90XH8HfBgBVHn2mEivcY=; b=KNNAraqPWKfAg7HJIRDnx/aA9odYpEG8Uss8ZHS6+Ge36tc1tfnkQs7oZwEBDOLUHZ Mb2DQGG+M90N7dT79aAk2g2yd3TRfWNv5rY6FbrWxB3iYZswEDYOxk3uCUvrspC8By9f oDqyJvHwVTyzqTv9u5puGcLXJcOKyZi7Qv43HvJqpTMF8SXs/bQllVpE0pkHBpTdnaj4 mbvVjeB4HspzB4PjGEMKpStFYOJ806EW2Vt1yq1uN05xtDeACiH8nxvyji13JbBlGaw2 kSNEmfAPGVl+6CQlKDB2JPRmtibfsGxaFKofXEN7aRwyUVMZ5c8pwrMaQoCirXpj6Cp0 +cyQ== X-Gm-Message-State: AFeK/H0B7aMAnC2KM9avdD9vbilhcZNNt/UxNH54+FRX5VpSdBDIKeXRcklXnaH5Tv17+YUo X-Received: by 10.98.159.149 with SMTP id v21mr8232866pfk.57.1489642202562; Wed, 15 Mar 2017 22:30:02 -0700 (PDT) Received: from localhost ([122.171.239.200]) by smtp.gmail.com with ESMTPSA id x2sm7403085pfb.49.2017.03.15.22.30.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Mar 2017 22:30:01 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Javi Merino , Zhang Rui , Eduardo Valentin , Amit Daniel Kachhap , Viresh Kumar Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot Subject: [PATCH 02/17] thermal: cpu_cooling: rearrange globals Date: Thu, 16 Mar 2017 10:59:37 +0530 Message-Id: <2ec1e1f373acb4471db3b15d14207c31b73c372f.1489640000.git.viresh.kumar@linaro.org> 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 Just to make it look better. Signed-off-by: Viresh Kumar --- drivers/thermal/cpu_cooling.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.7.1.410.g6faf27b diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 6fd258d62e47..7ce73eee866f 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -105,10 +105,9 @@ struct cpufreq_cooling_device { struct device *cpu_dev; get_static_t plat_get_static_power; }; -static DEFINE_IDA(cpufreq_ida); static unsigned int cpufreq_dev_count; - +static DEFINE_IDA(cpufreq_ida); static DEFINE_MUTEX(cooling_list_lock); static LIST_HEAD(cpufreq_dev_list);