From patchwork Mon Apr 17 06:01:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 97494 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1212604qgf; Sun, 16 Apr 2017 23:03:18 -0700 (PDT) X-Received: by 10.99.54.72 with SMTP id d69mr10174912pga.24.1492408998350; Sun, 16 Apr 2017 23:03:18 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v19si10043557pfd.309.2017.04.16.23.03.18; Sun, 16 Apr 2017 23:03:18 -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 S932870AbdDQGC6 (ORCPT + 14 others); Mon, 17 Apr 2017 02:02:58 -0400 Received: from mail-pg0-f47.google.com ([74.125.83.47]:33654 "EHLO mail-pg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932840AbdDQGCx (ORCPT ); Mon, 17 Apr 2017 02:02:53 -0400 Received: by mail-pg0-f47.google.com with SMTP id 63so7460482pgh.0 for ; Sun, 16 Apr 2017 23:02:52 -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=0neSwm3GeunsykDqJ2pcbUNZIJIHjCKvlI0nhtWjVKo=; b=kpsGAzKw4ul0cW+G4n/GeOkkNpGFZq3VHbMAArrDntw/SzxfJ6Tzve2haXRdyfHffq ZrYc68uuWxDK9AA9GJTTsDBDPE678u7qwKVNtxbDPh6A1a/EcyVmSPUiRukl7KPFF1YZ jlHs+NISkK/03M4k6lJuhUIcUqwnKM3AqVUiQ= 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=0neSwm3GeunsykDqJ2pcbUNZIJIHjCKvlI0nhtWjVKo=; b=oT9cMe2VllFon64vVdtCE2n9nHoSuWd4CKIi5bdTvEcZhaw3BO3KXG8Pr/hlyboqaa t4zgK0d/ciRZxD3Qz2OLzeQC6eJPVtUt0NaZTYxaCwrJ/RGZStbDj5wjeol1QYOG2xLv 4JSDpT8P9Z2acl6PucYgbitndzQ3kyRownGIRr3lubYLNDXsSkW/KNjnFwvKWkbQ3Qye y3xMh19U/PlI1ncS2IIRmBcxrRflncr5xIqzJoVNULavMDV308VPwuZto/+CaElvCoJf pAEx/4i67iOXa5g5TnQJTMgLkh44+wgU9TV/P/RAYbVtD678g/WHuxsoALiaPtL2AGB9 8Lbg== X-Gm-Message-State: AN3rC/4CL/7kVWe13S1m95fKcM8TdO/M2xSP9YNiQVsKH/73Nr0BokG+ q5bBoiSDNTXGylZc X-Received: by 10.99.104.69 with SMTP id d66mr10461866pgc.93.1492408967398; Sun, 16 Apr 2017 23:02:47 -0700 (PDT) Received: from localhost ([122.172.121.5]) by smtp.gmail.com with ESMTPSA id z123sm15330697pfz.56.2017.04.16.23.02.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Apr 2017 23:02:46 -0700 (PDT) From: Viresh Kumar To: Javi Merino , Zhang Rui , Eduardo Valentin , Amit Daniel Kachhap , Viresh Kumar Cc: linaro-kernel@lists.linaro.org, Rafael Wysocki , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot Subject: [PATCH V2 02/17] thermal: cpu_cooling: rearrange globals Date: Mon, 17 Apr 2017 11:31:47 +0530 Message-Id: <82d7a271bde0f9e4d5debd10a42ffb67b31aedad.1492408342.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.12.0.432.g71c3a4f4ba37 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.12.0.432.g71c3a4f4ba37 diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index be29489dd247..ce94aafed25d 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -105,8 +105,8 @@ struct cpufreq_cooling_device { struct device *cpu_dev; get_static_t plat_get_static_power; }; -static DEFINE_IDA(cpufreq_ida); +static DEFINE_IDA(cpufreq_ida); static DEFINE_MUTEX(cooling_list_lock); static LIST_HEAD(cpufreq_dev_list);