From patchwork Mon May 11 12:24:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540537 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 40D3315E6 for ; Mon, 11 May 2020 12:25:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 284B524966 for ; Mon, 11 May 2020 12:25:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="euAP57wv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729630AbgEKMZi (ORCPT ); Mon, 11 May 2020 08:25:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729595AbgEKMZh (ORCPT ); Mon, 11 May 2020 08:25:37 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33AB0C061A0C for ; Mon, 11 May 2020 05:25:36 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id t16so3867711plo.7 for ; Mon, 11 May 2020 05:25:36 -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 :mime-version:content-transfer-encoding; bh=+8aLBVF/jCNJkdmjTC/dudzjrY2tWkvRd1FtJjGwyUk=; b=euAP57wveF2y86MHZ6NV58TG0vSv9YKmBb6lQBV0IXubepFm2dNRippIbx93bponZ/ 5wu/RJRdOf1qM2bbmrGpSz6ojY2+0ae6Qi4gMb85pkSOp3p5T8376FlCZC/M5FXpk4hx T/CG2lZEw/CxOK3WQJXCioactq2A219Yv7f39F7U1X06RdQKm2O0Tcq9G7B+DEFMpvre GOUC/s4gXAOPn04Knsz2blgFHT8mZH61ngqCNUywerOsLd4Dd7ttlBYrsWsIFdMTSZID 5AuWs8pFndMg5h1/INazI5Eygmo5OCwm53sWmj7im2uP1zvY/+pyW4Ie2fzgz1l8KdY7 s3kg== 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:mime-version:content-transfer-encoding; bh=+8aLBVF/jCNJkdmjTC/dudzjrY2tWkvRd1FtJjGwyUk=; b=IHIeNA821Oqcvji3/LzPxJmwM5nZbl/KpUJKh+8QutAd2nG9RgDsiO5Ihm7whQoNWY cALoVf6BF0NOuZwVac/Vr0l86HpcCEii5EvdXK45D8E1LFo3ZNN9LpLnOx9ShZ6tnHBg D/DtJmrHUo85GPYpVJCH5gy6aCAh4zts36x/BbuJ4Tku0l/hJHDRRXZvMKHigAGshvXB GFJud72JFV0jOy1LLN8OvJuMAoNIk0Gk4f0ctoYUJWcbydKt7QFxVT/otN+muUBBO8+3 MVFYKVEzLiYr6huRSwnwmFVE+268+ajzWI8h8V1ADdn9/aczA3ZTx3N+nRr+JLuzVDiI K6BA== X-Gm-Message-State: AGi0PuajnOuNJxYJSzwYNpmNPKEgH94P36FQ2UNUupkBZWpHe0Ub8F+H aHRbPHsxAhOeFbQ8Pp9qGGk9mg== X-Google-Smtp-Source: APiQypJ4qBRsFtSTkkiLyjxDBfw6clVcHL7/Oi64wn/3ZpAx5AIZwfiiazyOlZANpe6NwClLBYs2lA== X-Received: by 2002:a17:90a:1501:: with SMTP id l1mr22882557pja.82.1589199935696; Mon, 11 May 2020 05:25:35 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id q6sm9049534pfh.193.2020.05.11.05.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:25:34 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 01/14] thermal/core: Get rid of MODULE_* tags Date: Mon, 11 May 2020 17:54:49 +0530 Message-Id: <74339a09a55f8f3d86c4074fc2bf853a302d6186.1589199124.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The thermal framework can no longer be compiled as a module as of commit 554b3529fe01 ("thermal/drivers/core: Remove the module Kconfig's option"). Remove the MODULE_* tags. Rui is mentioned in the copyright line at the top of the file and the license is mentioned in the SPDX tags. So no loss of information. Signed-off-by: Amit Kucheria --- drivers/thermal/thermal_core.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 9a321dc548c8..286920e06277 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -27,10 +27,6 @@ #include "thermal_core.h" #include "thermal_hwmon.h" -MODULE_AUTHOR("Zhang Rui"); -MODULE_DESCRIPTION("Generic thermal management sysfs support"); -MODULE_LICENSE("GPL v2"); - static DEFINE_IDA(thermal_tz_ida); static DEFINE_IDA(thermal_cdev_ida); From patchwork Mon May 11 12:24:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540541 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3272814B4 for ; Mon, 11 May 2020 12:25:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 183D82080C for ; Mon, 11 May 2020 12:25:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="msnddFvT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729659AbgEKMZl (ORCPT ); Mon, 11 May 2020 08:25:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729595AbgEKMZk (ORCPT ); Mon, 11 May 2020 08:25:40 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AB3AC061A0C for ; Mon, 11 May 2020 05:25:40 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id x2so4673221pfx.7 for ; Mon, 11 May 2020 05:25:40 -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 :mime-version:content-transfer-encoding; bh=kdgxJAfo8UlOucy5NbULhDRr0uCqBFbRyMqqRo+7u8o=; b=msnddFvTNtREqRm1El3S+W4nTTsmznmrMM8BRZnGmgRRKKCpgTeN+txsF0X/hMWJX/ UqTVTj5Pef0yCJ3QfSE1xhvLaHRTrNwVQU6N6VbVqj8shMvwdYqlNGPCCRgZc3IS8oby xpeF7qKWEwPHKMNpFwfPDmuL5H1ylxizE6U8NyipfpXoO8xKcCFAjyqD4iRriULgLxJV uOiJu/bPq34/DiTf6IR34VkDxUGnUovvj7Y8zLKdkkQPlTGJzZEWvJCfRfoGeRIGq+Im PBs4nWgbVC+wspgBwfuxwB6lV5oiftjrnnViI8EbunEnXvsp59JcpOlrbqcCtqGJHCRK 6qsg== 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:mime-version:content-transfer-encoding; bh=kdgxJAfo8UlOucy5NbULhDRr0uCqBFbRyMqqRo+7u8o=; b=s23NIyvpaSrCRoEDHxuwuNLbsc4AS5R+JsvHpqSQ5jknqAR5ctHMC7hEd1i1Ay5naD QSzmwbo2KprqoZ0K/huVlkCRdRaN+ImxG1YJrT2GmYeWgzb3I+LTdMHDsWAWuxgaZ6+o sbjAMykbkKBJU7otaSz18bL3BJ+RjSGEktfzghgIHZwMasg2UEw2Ba/rwvKoyQqQ0wzT zAr7OoNdWD+blWOg4Kt8oiPvD5khqqUq8byjCwmkRniWXOhcDARiojbJY/4HB2I8/Qkx bfXaNNCH8dBNpBooJqNxW/8mrhBT2ctDim9VxBSKxWbiGOMqCHk3oajJe+ZTN3QhoTll yYvQ== X-Gm-Message-State: AGi0PuZMjHpi2QgvbLnRPpQCoCGjgqUlJYe/UewThCIAxqOylINNeYrE Ar2jmb5W+vcAPksgm34rb7UOYQ== X-Google-Smtp-Source: APiQypIK/SJv2BvkXBQiXCCg/PqqSZRvMjBVTYP8zmpY8DlH8pIJgGgLmuJJ3RVi1ndH5W+cXRRa0g== X-Received: by 2002:a63:4c1d:: with SMTP id z29mr14019205pga.243.1589199939763; Mon, 11 May 2020 05:25:39 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id s136sm9344242pfc.29.2020.05.11.05.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:25:39 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 02/14] thermal/core: Replace module.h with export.h Date: Mon, 11 May 2020 17:54:50 +0530 Message-Id: <33af23406dcdb0c62dae1e6401446b997ccb449f.1589199124.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Thermal core cannot be modular, remove the unnecessary module.h include and replace with export.h to handle EXPORT_SYMBOL family of macros. Signed-off-by: Amit Kucheria --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 286920e06277..bed4a7bea7bb 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -9,9 +9,9 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt -#include #include #include +#include #include #include #include From patchwork Mon May 11 12:24:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540545 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C9CB415E6 for ; Mon, 11 May 2020 12:25:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B20212137B for ; Mon, 11 May 2020 12:25:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fJUWfTi+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729746AbgEKMZq (ORCPT ); Mon, 11 May 2020 08:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729563AbgEKMZp (ORCPT ); Mon, 11 May 2020 08:25:45 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 456F8C061A0C for ; Mon, 11 May 2020 05:25:44 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id t9so7808623pjw.0 for ; Mon, 11 May 2020 05:25:44 -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 :mime-version:content-transfer-encoding; bh=oLCRFYTzZLs87148l1yniv86hl5UQjMO56irWxi7zno=; b=fJUWfTi+qjf0FA2vuOSnTB0kWzbREj9eSNDAzVs5d927tPPCjePaekBQZBD85KG3F5 VED09Zw9mO6pK3PzOrC53yjo0W0be0i+lTottKW2/2Fg9uYNKryVuZNqeIaoNFTXCRG0 mT/ztpancw2WtnOgZ3uWRikTIwKOlWXkuSh91mPYIS8GqEsj3wgVImPOKrMXT6F1MB4r hJmh63wUvsY8p1sRYQULAt3IAY5Toywe/F34PL9BilNxjlw2v2K70baqsl9bx+Sr140+ 7LLC16fOi5LV9JDjFENTNTiv9WCLaYx9KB8KliZ7oK46glMCLvA0+w88QSlaz+ZlD56u d/Hg== 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:mime-version:content-transfer-encoding; bh=oLCRFYTzZLs87148l1yniv86hl5UQjMO56irWxi7zno=; b=IJ/kZY068YG7Yr9kZS+6nISVJQiAcU9u2c8Js0DFqNU4Vyqv/CHtLLuC9pnzT9HxX9 XmG8CesmZU8uXDF/0ePb0DGEF2jKbc75PP75E48AkhnQ/FTw3kMX1mAMftn3iEiJro5B G9UsWKBuMI6Ny0Fc09WYu58CpsK12mfP7zKqtrysDpdpSVL4CM99oJcwv86+ZOGzPQS+ OjURh7BrTZHowhH4HG1W08hOxPP3UwDe+HMHv90ToF1GIXNfHjbNyUbC061h+YfhagNP uG5aCZ7aDGfgN/vv/vccgE04w0vKAyqm5tBKtZK/FGQ94h5YphW2rDgbFJaDVA2Rsdrq amKA== X-Gm-Message-State: AGi0PuYpZGfG7/LPBqat3HRm6tqrEpUJOPSNH2yOT3vqnLtlXySwPafO 4KPUQfyhWnSKtUlmWJgt96HNWg== X-Google-Smtp-Source: APiQypL4e2jZtE6SohQMnQNdslV/ugdx7IF6yNh08RpdGCBWZWJA/HkPdZcOy2ptOK+0q4I15bUFVQ== X-Received: by 2002:a17:902:9049:: with SMTP id w9mr15139757plz.27.1589199943796; Mon, 11 May 2020 05:25:43 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id a196sm9240989pfd.184.2020.05.11.05.25.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:25:43 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 03/14] thermal/drivers/thermal_helpers: Sort headers alphabetically Date: Mon, 11 May 2020 17:54:51 +0530 Message-Id: <133db154796f354e6c51e6310095f679e1f45441.1589199124.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Sort headers to make it easier to read and find duplicate headers. Signed-off-by: Amit Kucheria --- drivers/thermal/thermal_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_helpers.c index 2ba756af76b7..8ea0a05404f7 100644 --- a/drivers/thermal/thermal_helpers.c +++ b/drivers/thermal/thermal_helpers.c @@ -12,11 +12,11 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt -#include #include #include #include #include +#include #include From patchwork Mon May 11 12:24:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540589 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B9C1E15E6 for ; Mon, 11 May 2020 12:26:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A270820820 for ; Mon, 11 May 2020 12:26:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YXhiLmSx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729811AbgEKMZv (ORCPT ); Mon, 11 May 2020 08:25:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729728AbgEKMZs (ORCPT ); Mon, 11 May 2020 08:25:48 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53CD6C061A0C for ; Mon, 11 May 2020 05:25:48 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id k19so3867610pll.9 for ; Mon, 11 May 2020 05:25:48 -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 :mime-version:content-transfer-encoding; bh=haxNS0r+O/CZv15x/o++MDoCTq7xU6xDTOnaN5esXAw=; b=YXhiLmSx4goD8MUm/DW+rJ3zGpXWB6FJ31sgJ5LlIO1JYcdZkfCt5mSFZIuxiNtm5l UfHYxoICohviLDbSbjQmTo+sOI/dpnqt3cbXlcfW13WQsYTxb8gc/Ei0zObJ5Yh4p0Ba iF3fXBsX6jrgIDBJnZM4Wh/x3tNrHCcUf0MS3jsv6VVJmLC5qOzpwb4tGxZsrxkBbywa YxaL3gXVxEIlRpdW4oMDNSobiYem5inBDHkZxsUTxoA8QqbtdNHXhv5usHlkZeRqNhkO g/rXcAd6Vj+FDAc0jItxg+usDGmwxOWHSD++8EhIzWWfJUFNLJdxrvORZXMDBb5R+6zU 8UYA== 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:mime-version:content-transfer-encoding; bh=haxNS0r+O/CZv15x/o++MDoCTq7xU6xDTOnaN5esXAw=; b=LhwGYbkln07y77r54+x8k+876aU0M1bX3U9ylzgKk9r6Cvh12f2cQCIx8uoKh07iRy VDWoqESpKWTe2IiTqiAMxJvrS1vHEU4Q7TwdV9QU+npZD7nUm3tUZESRxKSEp7r7pmgc /G3adMB/npVd92mZQwJIic747ltT01BdNCMU0dzM7uM+tafHqClC7crfmbGsfXa4UbZZ 0JuiLUP5yI/uh01zqH1Bbu70Gt/y1hZ1B4us1vrtDvHMj5cEVCZKYbFkO5erGb2Wh1nI 0E8j4Po4eWghQJguu3zpkjejzfWdmP5da0U0a9Da9GTHMGKZTsWryZKhiUgVuWUY4fV8 dAbA== X-Gm-Message-State: AGi0Pua11C4W/wiyHyqXEHtjKdU2go27TIocQslfDHP9jLYWIbm3F8nw ta2KehYRJoSfeWdrEuYo41OETw== X-Google-Smtp-Source: APiQypKuTjY9Gg8mysJb/lkYYkrUVhRtatcvHzJl+3wFXdbvG1f4JVxn/zvTUHIoQRLk+TPOTNmBjg== X-Received: by 2002:a17:90a:e013:: with SMTP id u19mr20147358pjy.16.1589199947854; Mon, 11 May 2020 05:25:47 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id x193sm9569958pfd.54.2020.05.11.05.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:25:47 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 04/14] thermal/drivers/thermal_helpers: Include export.h Date: Mon, 11 May 2020 17:54:52 +0530 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org It is preferable to include export.h when you are using EXPORT_SYMBOL family of macros. Signed-off-by: Amit Kucheria --- drivers/thermal/thermal_helpers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_helpers.c index 8ea0a05404f7..e47da80daf3a 100644 --- a/drivers/thermal/thermal_helpers.c +++ b/drivers/thermal/thermal_helpers.c @@ -14,6 +14,7 @@ #include #include +#include #include #include #include From patchwork Mon May 11 12:24:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540549 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1ECA415E6 for ; Mon, 11 May 2020 12:25:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 047162080C for ; Mon, 11 May 2020 12:25:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eb7YFu+Z" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729855AbgEKMZx (ORCPT ); Mon, 11 May 2020 08:25:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729837AbgEKMZw (ORCPT ); Mon, 11 May 2020 08:25:52 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 517DBC061A0E for ; Mon, 11 May 2020 05:25:52 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t7so3880318plr.0 for ; Mon, 11 May 2020 05:25: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 :mime-version:content-transfer-encoding; bh=CNjMX4Q50x2uZtB4NYh8/Da4gpgdASbh7q3Dr2tPrVQ=; b=eb7YFu+ZwTh0kdRzfvf0DoWF3+HZqXzNxoucioWmLAplPiYL6HvXU+u/lkC+JA3ZzQ D3OPLNTYWBoIhtiCIqGJ48OvRcIPxbXUJ9AtCXE6qVnmPQz3oUxq5E4AwTb/nbJduW79 JS7NAtR0hVYCuRMUNXkY4DqS2S8oe55KeLrQUn+bkBD/p6seUuz8aOhaJS8pzgAZ/j5W vC0kJzc4N5K7a6Txud/eo0ckNLqHljjsf8Yb8ziUnpJ9QFiM7eX6g0OmTcyjCHAsPRs5 N98I9FJHBy2wWXm4Cq6rLT4w/mbEdZBcwJymAmalRQbwvdVWEU5vSa+RF9fzrOvmK/vx 0bSA== 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:mime-version:content-transfer-encoding; bh=CNjMX4Q50x2uZtB4NYh8/Da4gpgdASbh7q3Dr2tPrVQ=; b=mw4eAiTwxTWSkWnIvWlqTQVFId/41gss8+iSz3XJNfsrekRjxgWfG3RflEX95vEnGV 1eekdFVjtZKBhwjFQWcQnVAGkFlei6u9rFCr3tKycjwMC1UkC7BkPWzPoDmySyt3R9uS uvECrQvtnr13ByjrX++Ytf9ir31JTMKkRQ4BUTUGAmRRdkrvqZ9SwLJwmSY88ksdV+Hn HMfEXESo57EvYIxTVvwf1na7IbM7SdKkRyS0bqzZ5/i4BtxZBgJc0ToLZl8v3Hqj09Ph CCNalDEPoITVDgpSl+htAw81naYOpbR9U/AupofBkpgjLljIqiiMkQv0gFo/EyjD4MbO uGJg== X-Gm-Message-State: AGi0PuZGePXJthUTIX0SOrYPMtp3RmVJzF3AIhvVfiDCJljL4wJV1z4A 2BL/FOMXqnArKu+F5Zps0M1Eww== X-Google-Smtp-Source: APiQypJr6Iz0W0TXA7y6Xi3bZjA5ak5FQ3uvSh+4LgtY2bsmfCxDLRWUEUsLZlmkB2/rkPFogPpleg== X-Received: by 2002:a17:90a:f418:: with SMTP id ch24mr21983158pjb.68.1589199951878; Mon, 11 May 2020 05:25:51 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id o99sm10158324pjo.8.2020.05.11.05.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:25:51 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 05/14] thermal/drivers/thermal_hwmon: Sort headers alphabetically Date: Mon, 11 May 2020 17:54:53 +0530 Message-Id: <29b64f1fe81e674c753c8f8309c310acd782ebea.1589199124.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Sort headers to make it easier to read and find duplicate headers. Signed-off-by: Amit Kucheria --- drivers/thermal/thermal_hwmon.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmon.c index c8d2620f2e42..e43ae551592d 100644 --- a/drivers/thermal/thermal_hwmon.c +++ b/drivers/thermal/thermal_hwmon.c @@ -10,10 +10,11 @@ * Copyright (C) 2013 Texas Instruments * Copyright (C) 2013 Eduardo Valentin */ +#include #include -#include #include -#include +#include + #include "thermal_hwmon.h" /* hwmon sys I/F */ From patchwork Mon May 11 12:24:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540555 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4F5C3175D for ; Mon, 11 May 2020 12:25:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 37754207FF for ; Mon, 11 May 2020 12:25:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="n7rXPswq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729911AbgEKMZ5 (ORCPT ); Mon, 11 May 2020 08:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729894AbgEKMZ4 (ORCPT ); Mon, 11 May 2020 08:25:56 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 603C2C061A0C for ; Mon, 11 May 2020 05:25:56 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id f15so3874106plr.3 for ; Mon, 11 May 2020 05:25:56 -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 :mime-version:content-transfer-encoding; bh=DfMcNqWTArL4Y5FjXhFztmuSx2FHQp5TnoxNceakMXk=; b=n7rXPswqzvaAQL8MJXEd+EHpWvH4A0CJYgK4ai+PXMpJUyvSTDHmBs58x3bD6ThfTo XsRDVktgXnzv1aChERUpor/0iWAH9aNvJPwU02MEDjZCXunynB9xChlEPF1D/n6jBfB9 HjUAjXkOBiTDlQfZuuTBvbCkmltaO6YEofuLkF94Isei/16A86EKWsxsaDPFiAAbx0cP kZXAoOe3YHqxLhumKw/ki3oiCe19ki/2PjlS25LJcCZSSVbejXKzzbcuP8sBTDy82Pv3 0S0ZPmbRaBPC7GHUMJlqwnIQHsyYHR6D32/CWy+nuLkQkDthLSEYyaKs03tfdzVS6zu4 Z89w== 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:mime-version:content-transfer-encoding; bh=DfMcNqWTArL4Y5FjXhFztmuSx2FHQp5TnoxNceakMXk=; b=GjaFI06g+BgHDR9UzbGgojNUvofwrgoYh4lnGPcNPUdCbd6UuoCZ6UZgdCr7OpduUS 2M7+1fg8BohTkcxwiFHrC+44/MqVulc+p0U1ZRBcplZYAW75sp6w86SFsF46fYJ4VYp+ 1QH3YkVxY+g3QPkJLiuvnPqjEsegH9KDL4PUVkNhyAehGQHRK1iClam5JtYmm5smjIsZ 0NK5THTkRIV3G/bsFLIqy5OiBSwWRGR74arxltUEe0ZsOyG8mMLOoT4H+7Rfc7bxEvLj cBDeGtApF9o95cmWWi4pB6YJjeBXYl6i4wWogSGRB5EGmNmOGmMwpMhwcrabWCqSKe80 Jtuw== X-Gm-Message-State: AGi0PuaGs2GW+anVTFNkGyRJQqu+cmYMoUj9Kqjx5N3Oaqb+M4xGdFj4 f/07Alpo3hbzaM9GX/hLg8THYw== X-Google-Smtp-Source: APiQypITHNfYkaL28do7g3be0G1XRhK/SouBrI17eY+WKs5pJJeTBqBv8FaNTHb9f9amRhYbxzFJBQ== X-Received: by 2002:a17:90a:1f4b:: with SMTP id y11mr22693865pjy.136.1589199955901; Mon, 11 May 2020 05:25:55 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id go21sm10316726pjb.45.2020.05.11.05.25.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:25:55 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 06/14] thermal/drivers/thermal_hwmon: Include export.h Date: Mon, 11 May 2020 17:54:54 +0530 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org It is preferable to include export.h when you are using EXPORT_SYMBOL family of macros. Signed-off-by: Amit Kucheria --- drivers/thermal/thermal_hwmon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmon.c index e43ae551592d..8b92e00ff236 100644 --- a/drivers/thermal/thermal_hwmon.c +++ b/drivers/thermal/thermal_hwmon.c @@ -11,6 +11,7 @@ * Copyright (C) 2013 Eduardo Valentin */ #include +#include #include #include #include From patchwork Mon May 11 12:24:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540559 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8FE714B4 for ; Mon, 11 May 2020 12:26:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A082D214DB for ; Mon, 11 May 2020 12:26:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CChggZOi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729931AbgEKM0C (ORCPT ); Mon, 11 May 2020 08:26:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729934AbgEKM0A (ORCPT ); Mon, 11 May 2020 08:26:00 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0BF9C061A0C for ; Mon, 11 May 2020 05:26:00 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id k7so2792378pjs.5 for ; Mon, 11 May 2020 05:26:00 -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 :mime-version:content-transfer-encoding; bh=zCql4ooAUuTgN/g+9s2UxdAjQ5xNIc09/Y+I6KcFQUQ=; b=CChggZOiOF6wPGfz67tGwkSY/b0IOdy3G10yE5YLYsA9sOtR0HAb1ajPJXGbKpTH5/ mRtrv5vjwUK0eviQAVLCQfl2707XNgYBMRaqfgKAvZJ6lyyphBlVjKRwupbgmXasAPs7 kzvc19w6B/op1OO1ERMqzl9GQo7c6lLpRYuZIS6EHf8l9ZjzvJDuoGMHvzMUxx46uVsY Cw3M8SZZIzLVdwaiqfBE2amFqhMcePNjvBL504W9a2jbzau2x76EyVcnPmtLc4W54AA3 6YTnXVtAHx4ir4BjCk2P7C7Tbyghv/Lza8HepXuuG/c9TxiYXSb5hZJsbGSvV1duIJoi Mqwg== 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:mime-version:content-transfer-encoding; bh=zCql4ooAUuTgN/g+9s2UxdAjQ5xNIc09/Y+I6KcFQUQ=; b=XG7Re/IO7zNWmut6a4mP/X3Z79O0AUJPT/lO+wwkbBaV06szc7vUsK6+6yZCgXyNoc jbMnUGqB+4E3+c8VGSrjymxe1WWIMqe0jkXDcjNTL2oISylUG3wMscQfX2XRt0bsM4D3 8PiPtpb39dSLEx6xWBkObQ70YmWlatPC3KskHTf5DyQyyURuY7ZyH0xkKLhHAeThMYoP WtVcr/aE0NR9qdEu8v1FWQi50YFfHJebx28ZgiEqVMAW2rmNPvm4DYuf2w8yvl/WMnJK o3gEqLUGmzltUhjUiGHqDuqXBfqk21AIOvDB9Z6xQ4q272Wdr8b++LqNfHeJdOQtqpkr Fj7Q== X-Gm-Message-State: AGi0PubdHp20Vlp8VppxWq/mSDjqMvUyqKfOBJejICXDTNzG7NSPuRAB /y4Eyykln+1pIG+BmOS2BUN4PA== X-Google-Smtp-Source: APiQypKPC1afq3Uf7CysVIw0pp3L8MnJhqmgDKdlfuFIa4EB7N8f7T9aJ/vqMRmxqNKOQwG9rbq/0w== X-Received: by 2002:a17:90a:1b4c:: with SMTP id q70mr21828271pjq.55.1589199960240; Mon, 11 May 2020 05:26:00 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id d7sm8656036pfa.63.2020.05.11.05.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:25:59 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 07/14] thermal/drivers/clock_cooling: Sort headers alphabetically Date: Mon, 11 May 2020 17:54:55 +0530 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Sort headers to make it easier to read and find duplicate headers. Signed-off-by: Amit Kucheria --- drivers/thermal/clock_cooling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/clock_cooling.c b/drivers/thermal/clock_cooling.c index 7cb3ae4b44ee..fd6bc6eefc88 100644 --- a/drivers/thermal/clock_cooling.c +++ b/drivers/thermal/clock_cooling.c @@ -12,6 +12,7 @@ * Copyright (C) 2012 Amit Daniel */ #include +#include #include #include #include @@ -20,7 +21,6 @@ #include #include #include -#include /** * struct clock_cooling_device - data for cooling device with clock From patchwork Mon May 11 12:24:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540561 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2329B15E6 for ; Mon, 11 May 2020 12:26:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0A4852082E for ; Mon, 11 May 2020 12:26:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="v5REeB1a" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729954AbgEKM0G (ORCPT ); Mon, 11 May 2020 08:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726934AbgEKM0F (ORCPT ); Mon, 11 May 2020 08:26:05 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04CD5C061A0C for ; Mon, 11 May 2020 05:26:05 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id b8so4473442pgi.11 for ; Mon, 11 May 2020 05:26:05 -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 :mime-version:content-transfer-encoding; bh=jAOdTLiRF08BUGeoQQ1jSCIZohHvIFy/T0eMMRKNkxU=; b=v5REeB1awFWWiZJIHs+HLAiK9bYOBbBuQpiUTIqqwxpvkMO1MgmR+4SKDJVW76qhSx K7eSzt4rGMus/hn4a+7NbaOPBUksJyD7ZbjD7ZCJFUX11tiYXVxXWv2Uxa1Mm8BpjrQq /1CchWZ5kwaGLYxmr4QJwnHnE4raFD+NWF2U4FTCwMz3aquotGpzaCwzn9Q6Uvn4hRUy 7mZGfJzCO8Pb5ndWrTC6Z6adunwD+43NALhyA7MHb+yYGsIBFTE1dDbR5xVO9zRbZqb1 naGbX8HAylwK2maSE9h79X+9DEnUhCUPw7XxNfYMieYaXeukN6Ob2Q+rXavCwcBp5G1d vEBA== 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:mime-version:content-transfer-encoding; bh=jAOdTLiRF08BUGeoQQ1jSCIZohHvIFy/T0eMMRKNkxU=; b=LvePWpaHMQB/6hw00LeYobi/kGiHsBylRc8wa2n1nRMq0jHOpb8Pl0/Fs+MPbA/YKJ kPs25Dj3RiJhFnzc4eB0K1Xxe1JfPgYJwEFD/iMdDA0lumsJAqkUtg6s+1wun3faYR8w +YU5l5ZgVZdYf9rOlS57/OxSgqmxBTmkB5EYd/p3BJA05eX/1E8z6seQq+SRL+tLMB0Q soklAYDMem8F1KtFr80a8KLY9SfGH9W6lXybqMgWpvXpJQ6WTgQSi6Wulb3UfinqgUIz ibk1Oqdk9KpC7By79ahskPOVwnQ0mo0sTyQ0gfRhAFXbcNQJI2mYRz/M6Fua8d7ILyPt V+YA== X-Gm-Message-State: AGi0PuYHX4LvbTHUyzDw+jusrWBwnXNIp3yuD2puL43IlyMkLYZvdC81 fZSebwjSWzsCFxGoKIniu9uEjg== X-Google-Smtp-Source: APiQypKSroADbKGwHiCUkmx+QfJra7jTrOyksev3CxoHSSW87/DHYXa1AdvxPdBZTV2QARSMXREDPg== X-Received: by 2002:a62:6807:: with SMTP id d7mr16211381pfc.296.1589199964522; Mon, 11 May 2020 05:26:04 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id 78sm4687636pgd.33.2020.05.11.05.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:26:03 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 08/14] thermal/drivers/clock_cooling: Include export.h Date: Mon, 11 May 2020 17:54:56 +0530 Message-Id: <25f16415ab7b7587a052f1bce4133da318d58192.1589199124.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org It is preferrable to include export.h when you are using EXPORT_SYMBOL family of macros. Signed-off-by: Amit Kucheria --- drivers/thermal/clock_cooling.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/clock_cooling.c b/drivers/thermal/clock_cooling.c index fd6bc6eefc88..56cb1f46a428 100644 --- a/drivers/thermal/clock_cooling.c +++ b/drivers/thermal/clock_cooling.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include From patchwork Mon May 11 12:24:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540569 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6AD3D14B4 for ; Mon, 11 May 2020 12:26:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 50F692080C for ; Mon, 11 May 2020 12:26:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pwhHoSUC" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729960AbgEKM0Q (ORCPT ); Mon, 11 May 2020 08:26:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729979AbgEKM0K (ORCPT ); Mon, 11 May 2020 08:26:10 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31977C061A0C for ; Mon, 11 May 2020 05:26:09 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id u10so3872733pls.8 for ; Mon, 11 May 2020 05:26:09 -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 :mime-version:content-transfer-encoding; bh=yOzb3IhTI9yPWNl3XI2lYK3qvd7pN2r4jllGR7pHWUQ=; b=pwhHoSUCVHs+05wGk4aMRqL1g9yeGAnLqwAgGUoSMQJ0rc7mu49oBcm9LjSVrbFYZQ t8Xvu3w3mIEtvn8POrFFF4fBtnl5XqCOZTO6CZ0tE57miFK5qYk64oC4SpZzNnQ5hlhK JNMsaI4WqG0kAe0ql2N3FSfvRtcBG3byYgGV1o/GR6F3gwnDSJdsX3GOrgU8z3S0R2U2 x8hTwg9E6VxijuJydfTP+Nt8OK03Qk9t6cMuu9hSEAj8J0iZ+WJ3UYmUZ5elnhJHN9UJ Md6pZGWSMG/GjmxQOFdcq4oGCcQXmBlDLKggHQ02Vo2gx3VHutK/phHRuGIiPP9/26pX pzOQ== 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:mime-version:content-transfer-encoding; bh=yOzb3IhTI9yPWNl3XI2lYK3qvd7pN2r4jllGR7pHWUQ=; b=ofzm9HqO30STLrHmZnKb8a5SL/XmwdxbH9A3zVnWJIH3hitcAzpLlYgGUHsGlf6WKZ 9bxP9IjgTMCtKXjauVFkBgOUecsSDpE8Rh4MdyhlE6ts8DbpWa1MiKz23PQ1NERmSbwW XNOHpVe3iRzWiNBFAKM/Jbv2dUbf6J+TWMNr8wU2FOkbOfkaQ/RCT/YKp0XnHg1pYeur gLMRtXFo5+iUfxO6ptbIz/ubp/YKRH072lSL1GzCN1R4a3j/CoXQIxcMAs7Me9sw2bpx eG8BzebSPcGZAQdsBLg5dGkM7J2FAR6T7VEFnxcNVFYgq9HLPGOwwp/Y6DfUAZ28rh4o iXJA== X-Gm-Message-State: AGi0PuYoot4NPJQnvjxQv2cwhJVvVxSyOCGBE0aZL3M13ZFeAv6EkDvN G7rkYIFUb79vnfAY7BUb/6txQA== X-Google-Smtp-Source: APiQypII8GF6w8vhEPnDEzE0HX6p4o0aWnNJi62GTULFdKWxm4PZwjkfcd95O3F+qhRPvFrwVWV1pw== X-Received: by 2002:a17:90a:748:: with SMTP id s8mr21384120pje.221.1589199968762; Mon, 11 May 2020 05:26:08 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id 1sm9253822pff.180.2020.05.11.05.26.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:26:08 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 09/14] thermal/drivers/cpufreq_cooling: Sort headers alphabetically Date: Mon, 11 May 2020 17:54:57 +0530 Message-Id: <4231f5dfe758b9bf716981be71cadf9642c83528.1589199124.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Sort headers to make it easier to read and find duplicate headers. Signed-off-by: Amit Kucheria --- drivers/thermal/cpufreq_cooling.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/cpufreq_cooling.c b/drivers/thermal/cpufreq_cooling.c index e297e135c031..1b5a63b4763d 100644 --- a/drivers/thermal/cpufreq_cooling.c +++ b/drivers/thermal/cpufreq_cooling.c @@ -11,16 +11,16 @@ * */ #include -#include +#include #include +#include +#include #include #include #include #include #include -#include -#include -#include +#include #include From patchwork Mon May 11 12:24:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540565 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C55C615E6 for ; Mon, 11 May 2020 12:26:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AC50320801 for ; Mon, 11 May 2020 12:26:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dpuCWriu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729995AbgEKM0P (ORCPT ); Mon, 11 May 2020 08:26:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729994AbgEKM0N (ORCPT ); Mon, 11 May 2020 08:26:13 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F0CCC05BD0B for ; Mon, 11 May 2020 05:26:13 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t16so3868361plo.7 for ; Mon, 11 May 2020 05:26:13 -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 :mime-version:content-transfer-encoding; bh=6UPeYtFxFAx9gPdqtUllM7hIOHzpNJ87ucNQvEyM/W4=; b=dpuCWriuMUzF0JT7TfJy/jv3b0jgrrU72bBaJjT1jCmEuJjRUN4ZM+j5GKrrwQI7lp v96w4P9TimNRooGph5RFZKg7a8I5I/N4UQ/m35tfgeg556gISKAS7c9X+PcJgNw0lLdX ajUDubLvh0FClNcx7j0a1eNK2exQGmMNJ9RLkCBC53NpFUfLrNEJaf/ZnMohP2rHwEwa 9sGm3MWCrw34sI5hDr1j6uPN4qJ/lWPeXJ14MPUXmU/qZwqKXn5i5NNhrqBEOVOUGDce 183BM1xLwzgw5o48z1bAJ8+DIie4elOnqPYb0+YcAx602GqqiA6P1g0RB3nNU+jPFV6L o2Sw== 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:mime-version:content-transfer-encoding; bh=6UPeYtFxFAx9gPdqtUllM7hIOHzpNJ87ucNQvEyM/W4=; b=KxDtcJaVMUGBBL49KQdENjG6hPwQ8fRcLT9z5HTlMUZYVvpXfVfxAx2u33p3fMVKcf Twplq5+BrW1BT5SNuH0FtQ+vA5pzjrzliwP7S+xtrqWgAfCJzTqbItoCbsH2iONZeajz 7XzvmN8nCJEM9sJ9d9CqO+uVKnjEQgxLGyFs+XaAz+1kEx4Alr6lS8z/fHX2TLtWxYS8 c3k9VznUiftOay0u014vE412/LuHnYSqOcGUFPOkMgXdwU5dwGFkPQ3pKyrENU6U7M7N tEZ+cRC44g2idh1QIQSU5viIyl3PxNE09OV6v+LW/rGKfcKZ3L+h0Jyhd3sAMgnQP+P3 GIIg== X-Gm-Message-State: AGi0Pub+/k0li1V36vnDNCeKCDxqCE7I/n2SaAcQ43izS2xedSa3JADd +j3A2e9Tl9r5C0dnBKSS/mh1aw== X-Google-Smtp-Source: APiQypKRc5pNcAFtU8nJC4T0/Mj8a73yMDHrfKjYPg2Qve+SWffvBDZg6bGiuSNMLM2cmdKvT+yoTw== X-Received: by 2002:a17:902:9b8e:: with SMTP id y14mr15048603plp.109.1589199973056; Mon, 11 May 2020 05:26:13 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id f6sm9198173pfn.189.2020.05.11.05.26.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:26:12 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 10/14] thermal/drivers/cpufreq_cooling: Replace module.h with export.h Date: Mon, 11 May 2020 17:54:58 +0530 Message-Id: <7a439e41e91d8bc5ff99207f99723fcf04ca36eb.1589199124.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org cpufreq_cooling cannot be modular, remove the unnecessary module.h include and replace with export.h to handle EXPORT_SYMBOL family of macros. Signed-off-by: Amit Kucheria --- drivers/thermal/cpufreq_cooling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/cpufreq_cooling.c b/drivers/thermal/cpufreq_cooling.c index 1b5a63b4763d..9e124020519f 100644 --- a/drivers/thermal/cpufreq_cooling.c +++ b/drivers/thermal/cpufreq_cooling.c @@ -10,12 +10,12 @@ * Viresh Kumar * */ -#include #include #include #include #include #include +#include #include #include #include From patchwork Mon May 11 12:24:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540575 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BEF0D15E6 for ; Mon, 11 May 2020 12:26:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A6D7D2080C for ; Mon, 11 May 2020 12:26:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZoTOvG7s" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730010AbgEKM0T (ORCPT ); Mon, 11 May 2020 08:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727019AbgEKM0S (ORCPT ); Mon, 11 May 2020 08:26:18 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD6DDC061A0C for ; Mon, 11 May 2020 05:26:17 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id f8so3878748plt.2 for ; Mon, 11 May 2020 05:26:17 -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 :mime-version:content-transfer-encoding; bh=hF8S2ow201STm9wEzkJ199uzwJVbP1aLvlH6u2KlxKw=; b=ZoTOvG7sdBo8g0iLE80nyWqdc/DOAUWNi627jdhPSIh4oMCTzEkY39BHGhuS9Q6Smg vIj+Ye4GVk6LoJF8h2ZgA4Qfe1scI/dnskcEnzYzelau/d2cV6YEvdvvxeKD1KeCnlCq DwWC6vV5J5N9ADddZxK/p6cEtZHf0P4gO5QgVYhFkgzG0BH40A4+xeP4BcqFL38mVukf 2MDwSYX/Td2bIGmIfEjXlWPKS29gtrkYLwvMFJ+DCjBikf8N4MaBoTYKZBxTYsSUpkB/ fmN+cOhIklGuufiuQ2vFSeZfYSjPm+R+GQyyjTxEPW/sOQW4qz/+JNrvnP6//6D71lKx oTwg== 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:mime-version:content-transfer-encoding; bh=hF8S2ow201STm9wEzkJ199uzwJVbP1aLvlH6u2KlxKw=; b=NXuZPPCW0ujA0qtsXQAtcXMG+dEBYY7YbQFqVtL94Bna9nLfTAaFXlFHyQe4qkk5/s GpK7F4bzYjges+K+4Ft2+rZkxcHEz6m5wWOWNemzhKo/pWPndhHR4oIfBPUPkSGpy/GY z69rbH4ST5e0mHzDPB9Hi3kBSJV4EgX/ZJnP/1dfXlddG5lci3RCCLLgahFoITwcua9h NczEaCWrIKRhzNWVBKoRj1XUwo4/dbvS7vr5Gl2zFP/kje0iQmhmdsKXWs5Djv3TiIKq GiozdunSi4a4tFmdJsVohHSIaEjELDiOlaHztkUVKtUl0fDZDH3tyzM/eFH5WcI3PbZc 7R5w== X-Gm-Message-State: AGi0Pub5L6clFWpnNeCvdYMcvWyoSBM89BO3z31e++ulnYuQvNllukgx 4EdKf7Gl5HuqfnLq7lbbxt+7UQ== X-Google-Smtp-Source: APiQypJatB+Ym6YLZS8IFfrGHFQFr///5CfFtcokbVGanuM03QlrrHzyaaQkUDCy0ui2HFE8tM7u9g== X-Received: by 2002:a17:902:8697:: with SMTP id g23mr14694952plo.306.1589199977199; Mon, 11 May 2020 05:26:17 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id gz19sm9928726pjb.7.2020.05.11.05.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:26:16 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 11/14] thermal/drivers/of-thermal: Sort headers alphabetically Date: Mon, 11 May 2020 17:54:59 +0530 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Sort headers to make it easier to read and find duplicate headers. Signed-off-by: Amit Kucheria --- drivers/thermal/of-thermal.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c index 874a47d6923f..ddf88dbe7ba2 100644 --- a/drivers/thermal/of-thermal.c +++ b/drivers/thermal/of-thermal.c @@ -8,13 +8,13 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt -#include -#include -#include -#include -#include #include #include +#include +#include +#include +#include +#include #include #include "thermal_core.h" From patchwork Mon May 11 12:25:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540573 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CCB3515E6 for ; Mon, 11 May 2020 12:26:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B46CD214DB for ; Mon, 11 May 2020 12:26:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X+M5qnS5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730024AbgEKM0W (ORCPT ); Mon, 11 May 2020 08:26:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730006AbgEKM0V (ORCPT ); Mon, 11 May 2020 08:26:21 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB98DC061A0E for ; Mon, 11 May 2020 05:26:21 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id f6so4494869pgm.1 for ; Mon, 11 May 2020 05:26:21 -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 :mime-version:content-transfer-encoding; bh=a6qQPRYkkqKyAG6TLaEJB/cXToLWZ6lQEL1jR4ff/IE=; b=X+M5qnS54NsxisnIx7GWnpMoWDWn3S2xQWIGyp3UWhsDJYDkZoiNsvjCajD6xx8AuQ 6mOWP09lgMi99nLfIw805FbWRAgJv6s45+jM0CbnOCyl3V/xqGnqi27nzDsb2mwlXfAA XJ47NejW5B4bMduwJJwqauCx9wS0XpxT+By53oU2vUu872hKmotTLcAS8RKKKdqlxE+q R5k259oNqmf7ex6OJunBi2f/dH6P7waZekWGNgAJptbSmOEUuS7eikiChC7J4X3aH0g/ nE2Ha6gc9xTR6Nerie4w88IVyFzTw5E+MtNxlclal4M/RklF4pXg2jJItR7e9POgsDuu hBAg== 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:mime-version:content-transfer-encoding; bh=a6qQPRYkkqKyAG6TLaEJB/cXToLWZ6lQEL1jR4ff/IE=; b=RqMFbkd8q9VsEEsgcD0kB/tQKuR8DQdh92HMzRxW5S9onQ6u3O8HMRzU6ipFVRycJm Qy6j2g1HGvt0tr/rnzOHm+aDFGQJf+cVx0jDRJQAJ06+nPpkNzwvpGpm7cgTciWWwwwZ A5+eEAtxOwurUbJpZLPbTICYSjf4SHsN6mh8ZZtbEIp1SKjk3kkgiIXRwsoIfJDID3pF VcjElHyEyYBdmc3x+2tOFkXzvjgtXgQGh04/Ky51nJ5dYG8pjajgyIlTHbuAGOBipGDx JUdN+JBNC7shxoKl2U+USfjAP2sqEFwj94krlDLpW+AUVQr+udTvmsTGzS/apkUVYV15 yhug== X-Gm-Message-State: AGi0PuZK0FRCzA3BwEgSI49iH73og8pp922lnZlSr/7R6XH/toyYA+C6 ubS5zPD6APCq4MBa7nNemlV3VY4wAqE= X-Google-Smtp-Source: APiQypLL4nvhq334zGg7iTbU1aDby51pF04VFXV0ASs9Ytw4L7wGG6wQYPS0Ri4lhijGPjC5YU88PA== X-Received: by 2002:a63:9558:: with SMTP id t24mr8618037pgn.48.1589199981320; Mon, 11 May 2020 05:26:21 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id y7sm9229481pfq.21.2020.05.11.05.26.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:26:20 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 12/14] thermal/drivers/user_space: Sort headers alphabetically Date: Mon, 11 May 2020 17:55:00 +0530 Message-Id: <406d0c7c961e997b42e25adf4e432fe4f57b315a.1589199124.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Sort headers to make it easier to read and find duplicate headers. Signed-off-by: Amit Kucheria --- drivers/thermal/user_space.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/user_space.c b/drivers/thermal/user_space.c index 293cffd9c8ad..82a7198bbe71 100644 --- a/drivers/thermal/user_space.c +++ b/drivers/thermal/user_space.c @@ -10,8 +10,8 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#include #include +#include #include "thermal_core.h" From patchwork Mon May 11 12:25:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540579 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CC47C15E6 for ; Mon, 11 May 2020 12:26:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B5108214DB for ; Mon, 11 May 2020 12:26:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EswIUU0m" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730037AbgEKM02 (ORCPT ); Mon, 11 May 2020 08:26:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729022AbgEKM00 (ORCPT ); Mon, 11 May 2020 08:26:26 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6F57C061A0E for ; Mon, 11 May 2020 05:26:26 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id u10so3873040pls.8 for ; Mon, 11 May 2020 05:26:26 -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 :mime-version:content-transfer-encoding; bh=rY1JOMAJv6wVttlYP9KeyPLdulfjmcdiwqnMN+0tcMw=; b=EswIUU0mwPJ60q3J+agrtsxLgRaW36AeIg2tZ12LEZ71Hq0mxal8xYW1sDc9SSFGRF hj2lEY/kizUWmRCfkp2EJKJSHkze5IZs03woynq0IsWtjITFEGkP+suceVLMA7Ynfch3 BBxlNS0Cb7KZy78+LzM2DdgstvYwmEhvEqtrh2mDTkDXRrTeGjX4WYZdkBazBu2qbPSl +OI55xFZyxgDTrrKPdeP4YVfr1+8d5wmEXD4Iepvuvd3TMNL0qDsLbt5ipdIMxChfWqK s9MG8vPjAz9rUX899zzPTFoN8ak07c4/iEAEDirFQWL4yhieJhftxpH3mSsQ0BulvUA0 PLwQ== 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:mime-version:content-transfer-encoding; bh=rY1JOMAJv6wVttlYP9KeyPLdulfjmcdiwqnMN+0tcMw=; b=mFtWHQg0sO5K7nEKSClKSwSI5i08FPIJX98QeMmb6KBEW2fATK/LUz/xbCV1Qj0uG1 ym3elKZlhVwUGJDK+3egnYp4EWdW4hQirOdIPhrT5T+umA44Yw02T/kFj6R4CoI2HBeC yGwzsOBmmPRbbIlDU1DNKho/9hT4027mZv2c6z4VAEzDlsLDVwP99wP1wM2I9BYaxOlx +3Xg6MCanua4HIjqa9z95FRVLRCi9jFEaRsfcQFTy9jYHtztsO8GW6mZEOOV/iSSxsUo VZo2fIx20IgGyvdBiVZPW/YexMwtL5rSdqcxHvd0yq9DUjQ2nJfyQvAGSD2RMvb91hYk LoFQ== X-Gm-Message-State: AGi0PuaLzrWvsqTVMD37/h7IW+zABewOHeJBixrSIZbqBSXcK4TTok37 6Y5o64+DQ+23qd1G9r8dzy9GaA== X-Google-Smtp-Source: APiQypL2yR2ZKxc/eTQV3F2wxog5egsQIyblGquQ3Qg53tNBVvAI268E0+y7jAQHKXUoV4VWgruw3g== X-Received: by 2002:a17:90a:1181:: with SMTP id e1mr23537379pja.234.1589199986348; Mon, 11 May 2020 05:26:26 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id j5sm10314784pjf.0.2020.05.11.05.26.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:26:25 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 13/14] thermal/governors: Prefix all source files with gov_ Date: Mon, 11 May 2020 17:55:01 +0530 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Bang-bang governor source file is prefixed with gov_. Do the same for other governors for consistency so they're easy to find in the sources. Signed-off-by: Amit Kucheria --- drivers/thermal/Makefile | 8 ++++---- drivers/thermal/{fair_share.c => gov_fair_share.c} | 0 .../thermal/{power_allocator.c => gov_power_allocator.c} | 0 drivers/thermal/{step_wise.c => gov_step_wise.c} | 0 drivers/thermal/{user_space.c => gov_user_space.c} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename drivers/thermal/{fair_share.c => gov_fair_share.c} (100%) rename drivers/thermal/{power_allocator.c => gov_power_allocator.c} (100%) rename drivers/thermal/{step_wise.c => gov_step_wise.c} (100%) rename drivers/thermal/{user_space.c => gov_user_space.c} (100%) diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 8c8ed7b79915..09ff0e259d46 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -12,11 +12,11 @@ thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o thermal_sys-$(CONFIG_THERMAL_OF) += of-thermal.o # governors -thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += fair_share.o +thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o -thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += step_wise.o -thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += user_space.o -thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += power_allocator.o +thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o +thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o +thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o # cpufreq cooling thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o diff --git a/drivers/thermal/fair_share.c b/drivers/thermal/gov_fair_share.c similarity index 100% rename from drivers/thermal/fair_share.c rename to drivers/thermal/gov_fair_share.c diff --git a/drivers/thermal/power_allocator.c b/drivers/thermal/gov_power_allocator.c similarity index 100% rename from drivers/thermal/power_allocator.c rename to drivers/thermal/gov_power_allocator.c diff --git a/drivers/thermal/step_wise.c b/drivers/thermal/gov_step_wise.c similarity index 100% rename from drivers/thermal/step_wise.c rename to drivers/thermal/gov_step_wise.c diff --git a/drivers/thermal/user_space.c b/drivers/thermal/gov_user_space.c similarity index 100% rename from drivers/thermal/user_space.c rename to drivers/thermal/gov_user_space.c From patchwork Mon May 11 12:25:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11540583 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DABC814B4 for ; Mon, 11 May 2020 12:26:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C252E214DB for ; Mon, 11 May 2020 12:26:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qq74y2cm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730060AbgEKM0c (ORCPT ); Mon, 11 May 2020 08:26:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730056AbgEKM0b (ORCPT ); Mon, 11 May 2020 08:26:31 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 315FFC061A0E for ; Mon, 11 May 2020 05:26:31 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id x10so3874647plr.4 for ; Mon, 11 May 2020 05:26:31 -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 :mime-version:content-transfer-encoding; bh=XND7Ft1QHmviKkz6VujX9JUe2hE4nNkjYKIH9ZGOL2c=; b=qq74y2cmWrgyNBuVo+ZVQ82V6vuYaeXy47j9lpqUOsM5LvjXdIpScs5Cyl8Woe2rKJ wbeZGdChqEHWYorM2c8iT+ZzGdPgYODIHY0yc8UfNgRbe0kedUDdsTlRpZUuCgD+Xp06 zCmV1VYQx6p5E3PmCTciMt2nmg4AMB00wgMERiE9GJHgkg5iWu1ODLrXpFTISIHCssK0 Pq7e++v0MLeOZBPcwVdvcZ+dp5s+yTCRB8Q25/8dNmXYCEhlsDAa0qoWua15uG9Nhon3 /0cdL5w8rP3i10tpxI7R4WSEKga8awqQ34bJYAIrheJXcM277MC79Wcnzw06DSWv0+5a Kc9A== 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:mime-version:content-transfer-encoding; bh=XND7Ft1QHmviKkz6VujX9JUe2hE4nNkjYKIH9ZGOL2c=; b=tFUFdFcPxViibGZ24MyTBBuy/VBSnMU+Xm5hL+ML662nMmJHG1PHHOGcbYvMYYQbbv b6xAZ0OWQtwSLXY6t7heFN72K3YD2VsxLzeB47JHPPi+FcWHjdN4X2t/3ikS68zNj6Ke sZY0BKPYhs3zxZqEY5lITvqsLb2ln6L2E14YZMPx/o6HwUmUgY4R7F8nSV6N8EHwibST XZ9i8cJudGSzDivJOjwIGJuILp4Xz/U5kkN+HWwW6kQbjpmROlskxbkjOS4HAkmK74FP RQFD7MUyRjDWgMkjhzhdfDqBU/5UhH+9lWAwYvBMRDHA7YLFhKSYYcD62T1PvOoKmLyQ WQYA== X-Gm-Message-State: AGi0PuaaORpH4BCx4QTCVQJvsUwXAGE6jma+6X20seOrh13+h/Ei5GfB KDBM+r/wle3nwKcnmTR8Dr7A0g== X-Google-Smtp-Source: APiQypI5fvYsRF8XnQe9EPoaeEun1n645HV0jOql6fL0RQEqTubw4z2wfOtKrErX3Fbm2RhA6mQO2w== X-Received: by 2002:a17:90a:fa3:: with SMTP id 32mr22841991pjz.224.1589199990623; Mon, 11 May 2020 05:26:30 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id y2sm9235710pfq.16.2020.05.11.05.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:26:29 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, Amit Daniel Kachhap , Amit Kucheria , Javi Merino , Viresh Kumar , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH 14/14] thermal/of: Rename of-thermal.c Date: Mon, 11 May 2020 17:55:02 +0530 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Core thermal framework code files should start with thermal_*. of-thermal.c does not follow this pattern and can easily be confused with platform driver. Fix this by renaming it to thermal_of.c Signed-off-by: Amit Kucheria --- drivers/thermal/Makefile | 2 +- drivers/thermal/{of-thermal.c => thermal_of.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/thermal/{of-thermal.c => thermal_of.c} (100%) diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile index 09ff0e259d46..d7969dd553cb 100644 --- a/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile @@ -9,7 +9,7 @@ thermal_sys-y += thermal_core.o thermal_sysfs.o \ # interface to/from other layers providing sensors thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o -thermal_sys-$(CONFIG_THERMAL_OF) += of-thermal.o +thermal_sys-$(CONFIG_THERMAL_OF) += thermal_of.o # governors thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/thermal_of.c similarity index 100% rename from drivers/thermal/of-thermal.c rename to drivers/thermal/thermal_of.c