From patchwork Tue Apr 25 10:27:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 9697835 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 830B5603F4 for ; Tue, 25 Apr 2017 10:27:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D345285E9 for ; Tue, 25 Apr 2017 10:27:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61C8328609; Tue, 25 Apr 2017 10:27:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDCD228600 for ; Tue, 25 Apr 2017 10:27:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1429520AbdDYK1k (ORCPT ); Tue, 25 Apr 2017 06:27:40 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:34526 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1429500AbdDYK1g (ORCPT ); Tue, 25 Apr 2017 06:27:36 -0400 Received: by mail-pf0-f172.google.com with SMTP id c198so25018400pfc.1 for ; Tue, 25 Apr 2017 03:27:35 -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=DpVWVBXCxG9JFwShq56wuajsYjr/1QS1zALLI8Vtkdw=; b=AgE9nUqCOh4LHacjIiRJfW2pLNA1GZOF+ZyJLKG9s0QxRHhydg/O4RHHmvlDqf19B9 O/WDL0SNjrEygPVAwZuWK4KS4X3sGe4mm05rw1tlUEojF8AXWlDpZP6iH4GkZmZB4ClO GT9Ufeh9sEluMstaIoGSQOnBpUSJ2tU0yXMuE= 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=DpVWVBXCxG9JFwShq56wuajsYjr/1QS1zALLI8Vtkdw=; b=HkZHylrM5X8F5v2XSlkVVXEBpPER6/oZXrrzjnlnBEe0f0Din2rTLuPGFjoO7CYxDU nlVwrDFg2ao1UnNuVqlXVWAOgLb/YvvhlfF71tLB/vp8sT1TvnJXZ8kztrV7zVbUE4PV JincX9XYqGOl+0YjkPXq6p4TFnmUpg+LCRgIRk2ITgJWTHH6W6hGiKrPK9gZWbfqPaD5 UNDiTsZgZnxuLkVR/WX7ryepcUSSwkIv9Cy2RjU7T7GRnX9LP/giHUdFJKgSfgplAhbn VSDzrZ685EA6tjQFUj0YcB/yYHsNiVwZVe6+iSJUWImtQwfh/hnOqAGPm0zibYMCoyxC VIcQ== X-Gm-Message-State: AN3rC/6aC+REzKRf2iy88pBaEz3uQ8Ml0ZuGfI/AjvynWVLLLy7M580J wqobm6rYmhW+rS4c X-Received: by 10.98.133.145 with SMTP id m17mr28465876pfk.51.1493116055215; Tue, 25 Apr 2017 03:27:35 -0700 (PDT) Received: from localhost ([122.172.121.5]) by smtp.gmail.com with ESMTPSA id x9sm35715350pff.98.2017.04.25.03.27.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2017 03:27:34 -0700 (PDT) From: Viresh Kumar To: Javi Merino , Zhang Rui , Eduardo Valentin , Lukasz Luba , 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 , Punit Agrawal Subject: [PATCH V4 02/17] thermal: cpu_cooling: rearrange globals Date: Tue, 25 Apr 2017 15:57:09 +0530 Message-Id: <82d7a271bde0f9e4d5debd10a42ffb67b31aedad.1493115651.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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Just to make it look better. Signed-off-by: Viresh Kumar Tested-by: Lukasz Luba --- drivers/thermal/cpu_cooling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);