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: 11540535 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 F2E0314B4 for ; Mon, 11 May 2020 12:25:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DA21F207FF for ; Mon, 11 May 2020 12:25:37 +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 S1729573AbgEKMZh (ORCPT ); Mon, 11 May 2020 08:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728367AbgEKMZg (ORCPT ); Mon, 11 May 2020 08:25:36 -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 34684C061A0E for ; Mon, 11 May 2020 05:25:36 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id hi11so7777418pjb.3 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=qixrfMqRPhyynIFDCSJM81ZDmk5/C1Vy6FZtMNUjt+2HoK2tiPuTAA7dl4BKNrCXbt 60vqV1B4VciDbAaBxNrXhZIqvTzmnstHNV5o6iBTw4UIHpWdWMNaEIQnBL5P78FMVUSl Q6NJW179l0hrdVDkunDeiFqflQjNubfu/j43mpjg07ncTBMNciinjB3SYLyBK10rWhtM t3sd8GYZQpGqxVMfk3/1708i3KqaCrmiiX+oboZ6JHOl/0siEkUrRNvoXuWEPhhdNzyk XGef8o5XZIwuodGV11GNYxQTHDPEQtUwH48wSCjRNFyFp+b9d8peHB1Kk7cWV0jGD7Mb 8WYg== X-Gm-Message-State: AGi0PubttkW9H54ls9uR7Zlh715V9KXzu8jUSiRCvr1XfggU+ceVEYLC rfMivSK8FbtuPGr/BUFRVPhf4A== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540539 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 1342115E6 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 EF15020820 for ; Mon, 11 May 2020 12:25:41 +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 S1727994AbgEKMZl (ORCPT ); Mon, 11 May 2020 08:25:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729563AbgEKMZk (ORCPT ); Mon, 11 May 2020 08:25:40 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BC33C061A0E for ; Mon, 11 May 2020 05:25:40 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id u5so1883636pgn.5 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=ADuKRqf6UopufFWrkeg0y96O7NCZHZKAjws5Lf8o8TAxQrIBkHduUcfvtEC9wlGA/g gwl+3YfHsbO45yKAiJDDLWxmG/d4jalvdODMtyTWE+Z5k3xzrnwXFgarmnSZosOkl0bZ qUz266T9lR49AMkBHFyRy5XPPtzT2Kx7MMp5jly/5F9D6y74umaFDFD2dxo3Z2FbbOqJ qMnQEuY++4bqq+WuzdjNvZxHhL94BADwB8LK9uUcu6RLy/UtVcHcl4E4VMMD4Tw8un0R 7+KEp55D1+4GNnFLpxWjrAOnZjsq00VW1hruWzeW46vUNk7QDmLcb3BX62m4MruBSpI5 7qPw== X-Gm-Message-State: AGi0PuanXZxMmScsnABo+0+ima8j0N9al6QPqkNE5PXggNDokPihgZX5 xg3V9plqYJ3Y2sDAQIkuUmIl9A== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540543 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 1722A14B4 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 F2BBA208CA for ; Mon, 11 May 2020 12:25:45 +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 S1729726AbgEKMZp (ORCPT ); Mon, 11 May 2020 08:25:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729563AbgEKMZo (ORCPT ); Mon, 11 May 2020 08:25:44 -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 45AA5C061A0E for ; Mon, 11 May 2020 05:25:44 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id f8so3878157plt.2 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=enPNeovhMpQUto3GFpCHitlb99tp6x9DlWX10yFO8rfSAOiJvYmOI5J4YxqvcITh3B QymoyGetyr2IlPUv3ImCxVagyL4poE5EByQeMN6tH2Jo0Hvuus/eBpIO9rVTh3E5V2QN ydJakt9DIiiUt1dhpa24K7Wg8gMXvsTfQnxXrH7Z63s2Qw5En9MfpHE+GWV4/phIL3tq QNcn7HTKlOBaeTJ2POTZCkTNEPJLT/NGIJ8yabvkVjJNusRFOgfCrcMniUt2KDLGnv5Y HdBjqelai5nHrey8fFYQ5LYdnqVEb9bF0YYZiqBoj2QWH4hCpo/NGrb5YjBMiS5EhqPD bsCw== X-Gm-Message-State: AGi0PuZ+RrPYC/2eqiv3whi9L2KRx2lxBOjyf+zPyc4Zxf/JgRe+U+K4 JQa8OxMmdd58eYJkUc6Pw1otA7QGUrA= 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540547 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 6EE7314B4 for ; Mon, 11 May 2020 12:25:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 555CE2080C for ; Mon, 11 May 2020 12:25:52 +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 S1729820AbgEKMZv (ORCPT ); Mon, 11 May 2020 08:25:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729805AbgEKMZs (ORCPT ); Mon, 11 May 2020 08:25:48 -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 53EC0C061A0E for ; Mon, 11 May 2020 05:25:48 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id x10so3873909plr.4 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=OW2dqNCrNc0cdTP0kyZImeh3brd9kt1e1CFpqGdv7/Zrbw0JktBxtVY2D+/NzR/o1o WeSxz9a/Ih1ba/XjmrSv72VEtDAemk1WnC+OVqaFFQTa2IU2RSrXrQHBnq7NDfQvvDmg xsnBod5UMacY/lGuF9WLYub0Q5xh5wVIR0c0PtO0f/if8UOEZDalnM93+Y5bl/B1VqSK Jh5JdJK5ivifpEn2J1rM790Hx5RO3Tbm23B1klLojetdkh8h04vaDWJAgs/FgrBzKyRl P0u6LApFM2tODOUl9EJ+0eb5StX4hI3wobT0OB8/K11PTA4rjEc3tbBJyslf/lAsM99F Iodg== X-Gm-Message-State: AGi0PuYuuuH0F8Bgjec+i9oVIoOkKmP5YtXqCpUzHkOdDHWXpB+QACed kAwrzD4GUESCpMqy559PGUQe3w== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540551 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 E50BA15E6 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 CC2AC2082E 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 S1729868AbgEKMZy (ORCPT ); Mon, 11 May 2020 08:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729857AbgEKMZx (ORCPT ); Mon, 11 May 2020 08:25:53 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50612C061A0C for ; Mon, 11 May 2020 05:25:52 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id t9so7808784pjw.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=s7XT6akeljamAfFUMvOh8YaogouHuNA86QvnDFMoooUpc/a0vTr9RvuckIoXAqkjKJ fK9F4nFmpPgK6jKiI4GqmLuMQ/nK7iwFrNVH2ipu/0gMA8EaDLIhNgOFKj66HA/A4L5P dOOGCegfj6PBoeSb8/C+nSCo3WUSSoCVI8S+y8teOO1zt+sYrcljJUycC1Qz+HgkPD3y NlmYcSndgq1UG37ns+KKWEszV3U6EkZxRD6NTQPfc2v2W9BkGq/FnyfhHCDRxoyPAsOT ED9ew43WCWeWBkJjIZhrAoSxpBkuHn65wPOGZulEAmXPDmNE7OkZh/0OfhmTaMR2IBai ZR/g== X-Gm-Message-State: AGi0PuYFHtG73QZ+KVbPMSmdpAxSXDKSilx28uXRZep0sFnihiSxYBC2 sQDAt2eG2YSqwMg0vFwPPPb/jw== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540553 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 01936186E 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 DC337207FF for ; Mon, 11 May 2020 12:25:57 +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 S1729849AbgEKMZ5 (ORCPT ); Mon, 11 May 2020 08:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729897AbgEKMZ4 (ORCPT ); Mon, 11 May 2020 08:25:56 -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 60BE9C061A0E for ; Mon, 11 May 2020 05:25:56 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id ms17so7711331pjb.0 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=SkO3Owx4fVdbP0G8d8E70COj8oM9tRL90B7fcXq/YhUnVO4bRZGOAzCTew6Bt5axAM fgpkXmlhnAQON2xG7fJ2NeQfoV/rJskxD7YXSRRJiw7VV5wqgkzppgpT0ZVy34DLv1wu 8leqOStnDw2DooenjrX9z9sAARAEyIvCP6YZ79/1XB1ARmQJVmFhvyQBX4zHLYQhK3Pm bZme6KQj0a9fBckNMLIWFjQmzCNvGykMaSrPFs7hJQ9Br50MPIpE/z2X3qBAuO51Tl0c ljLVpriU2DpJn+jvHhoQtFgsuiM+cLqSfv4IRYTNnQ1162eMpb/ObtFNPWeQYPNuaq0A Dbug== X-Gm-Message-State: AGi0PuZL7nsJMs0VTXUOQbO2SQmrrljsvyqPGxPcv1whtcdhuORMEhjD 5zG6h0hHUpdBoWQ5mUfOonHEl+3Z7tI= 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540557 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 979E115E6 for ; Mon, 11 May 2020 12:26:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B5752080C for ; Mon, 11 May 2020 12:26:02 +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 S1729936AbgEKM0B (ORCPT ); Mon, 11 May 2020 08:26:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729931AbgEKM0A (ORCPT ); Mon, 11 May 2020 08:26:00 -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 B0D50C061A0E for ; Mon, 11 May 2020 05:26:00 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id y6so7781044pjc.4 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=KaskJ/LHUpUjKIwmXlJ0AvSAWvogAhzXE9AkS6ZlNpW/T4g0hGMXBz1Rx8cy23OOmp EIvXnbLMLgcbxIhbPA0kpIy5ncHan3tkWYj/LmfVhULGsGK4xIrq9a4IAazfzzobkY1o GTzZEwKbcAET0GzMyNwEDf8Z3F2DlGpUWzZI1FpjNzoi93NQTGFMuuftk/Hx0KZiHpho tN30HBAEEr2/xQ97ADq3cURadgDK1AXgBgCVP4yS9BI8hU6ULHRXsDu3KBkJrU/qDwQt iOKtEmvVI8bX65VqTEzxxZbE8xjp3annMa4+1uqaZOB1r5YA7Ray2ZN/K0YVkviEcrDx I0Mw== X-Gm-Message-State: AGi0PuZHwcYmIuyLO7p7FaeVaGb8ZWZjajePTHcXHOBskAMR3opUr6Rd s2N9Z4nkjXYmJbkyPtqdT+osmA== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540563 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 6354C14B4 for ; Mon, 11 May 2020 12:26:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B78C2082E for ; Mon, 11 May 2020 12:26:13 +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 S1726934AbgEKM0I (ORCPT ); Mon, 11 May 2020 08:26:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729955AbgEKM0G (ORCPT ); Mon, 11 May 2020 08:26:06 -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 05266C061A0E for ; Mon, 11 May 2020 05:26:05 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id f6so4494528pgm.1 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=Q5K+XxCQvox23ytdXhxM3RCMWQUrzZhPG/g0tFdD+BPE0OFBNm2V6ACixBhCSvgTYf wlScJC+8Dlg0BUs69JI+TTdfB7U5hTECKIGMnxzM/F/5sVMjPU9oNOMJ2Y6bCqIAOEF5 cS9gkP8ZTRy8AMHMn7G2jRjCbAm28/8dt/w8TyUhU7b2roX2zUqIX3jX67M9xx2KYRH8 6zSUczA010XYIjCk+lURhlW42why+yqdSdelIp9JMuhkiIJyEPEun1Khcs6zzrqH6kDB 4d4j1dwFmDHeVCVLgU0Y5a3We8j2wUFVDxZn7UqnU2DkrFxdzoaMpX8HNqR6mMzmRvCo VCTQ== X-Gm-Message-State: AGi0PuYgxRoNmU4mOYVJCPtmoQiHDStelqwXk21ruQIXagggaqVn/UGB MCxV3D1cRA+reUycv6jdCck9/A== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540587 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 B33C115E6 for ; Mon, 11 May 2020 12:26:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9A203207FF for ; Mon, 11 May 2020 12:26:40 +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 S1730070AbgEKM0g (ORCPT ); Mon, 11 May 2020 08:26:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729972AbgEKM0J (ORCPT ); Mon, 11 May 2020 08:26:09 -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 31FCAC061A0E for ; Mon, 11 May 2020 05:26:09 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id s20so3875097plp.6 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=MFxCN1dA/kc7rE63T70K1JwKxtu5yvLRogbjbhsaMsLfoGaSe5L2b8GK5RxwFwjALk BmPaXDeE1ijFmD21rV0cUQFJywikwDh6swMeEoH3Pj06j8+BxyienghTlwWiaJ1T5cEE PfmCcxcoUbGsMcfqcUx7XGRNFruxbljFSr8H/u9zuMWNREfoTHMgRFSWwYv/0UpNhjqd tjlKWHL3/14ABtN/lttI0qWYOkqJ2bx05rWuOsDXoKpnfiUoDOmDHLqm8f44GhhPUDzx 47ehA0QjQ7S02x3pXPrBdt0DC+sAk9Kouu2NnAgq5ebivEePq6OKamoNTsq8Rc+ZMNB6 /0lw== X-Gm-Message-State: AGi0PuY3qgqz5vNrg2RbOfborFXY26jZNFJMCq4zimpyzEnVMvyZiQNt J3t3S2/9+UmaoBMnX3A3dGeZbg== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540567 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 4C495175D 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 32F3A2080C 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="dpuCWriu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729994AbgEKM0P (ORCPT ); Mon, 11 May 2020 08:26:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729960AbgEKM0N (ORCPT ); Mon, 11 May 2020 08:26:13 -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 8F06EC05BD0A for ; Mon, 11 May 2020 05:26:13 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id x10so3874322plr.4 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=D2BJO6EzJedqzxmLM3jEswaSpdjXWtFJwLPaJJIHG6a+lKs5DqGqbjR3uw3XUx2/GT WYbYkg1WIFtn/6ru55xAkD+0X2GelvccOeLXqB06YaMe+UQV08Kj7L2/XyQGbXcm7onG kXGSspLwCVb2+mQjIJafgxbkmzCih0awd/WBLEHoo9wRMBcRx+PMttMLUcOdNVODzyV0 kSlpX+d7l3254I6j+ITQyIqxghcM4rGcHCnSdLFTfCfMOa1WjTiSZ9SnyO1i1Dezf5Xt C/zwjTh5sQ7Iq9WHI/6P2Bb6eZNI/rnRjlJKMviL/TZhgR/lKPp2gqDFor4DCqPwUTcA pmOw== X-Gm-Message-State: AGi0PuZwcA/1LZC+nEf3Nu79LtfIrnPZlsUisQNnJlfSRBi/LgkFA+yJ 8TFTUS2aTSpu2uARiylohVzp7A== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540571 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 03A5714B4 for ; Mon, 11 May 2020 12:26:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFFB8214DB for ; Mon, 11 May 2020 12:26:20 +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 S1727019AbgEKM0U (ORCPT ); Mon, 11 May 2020 08:26:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730002AbgEKM0R (ORCPT ); Mon, 11 May 2020 08:26:17 -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 ADBB4C061A0E for ; Mon, 11 May 2020 05:26:17 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id s20so3875212plp.6 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=hHhQRvYbXTaLNbiiIXBjP1/So7sw0uRG4oTBJi25LZHTnNrXnnABBuwBJjxs9iCVUa SDdFpdcnSvC1emXnVFPwK+zmJP+HH4sV+7VbQyrKKpv9Hzp7zJ1VPjNEPdaFLu2fKep7 Re/Z/E6bYTPkMRvngw25NiUZLs782v4WQCTmkPxjqz6/xaVLGEDaDUZ4P8wj6wuCqERU AQC8ZRtG3RbTghS1Kb2noOWmJK7VeQRcVZJ6EymmrHXzHslo3XoKJv7KzChsOIaQOR9R K3CBV8DxCYFXauzGxRpi4lwY9mOvX0i0qLxTuORd+VyNF3Lt2QTk+XLcFvpijZaV1lk1 SVMg== X-Gm-Message-State: AGi0PuZn+7melDGcA3wQKXtIxMc3tNb6BWOn7mwVnMvb9++fXWCl2uFW rGEEW0hgpAjLtvcrau9rlnlz+w== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540581 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 EDF78175D 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 D1A9424967 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="X+M5qnS5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730006AbgEKM0Y (ORCPT ); Mon, 11 May 2020 08:26:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730025AbgEKM0W (ORCPT ); Mon, 11 May 2020 08:26:22 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF48C061A0C for ; Mon, 11 May 2020 05:26:21 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id f7so4669853pfa.9 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=G1He2FNENWbJN1JS3rtMk7u9bS5YSyLLHt5nbZLb79mQAV/rk36/T4p3uwNvBj6pm/ z9NV9echNryZv/OZum1uTMe/Et+MMO2KZsxxuQerQ+utRCfl42K2lvmaJwgAeRacRPn4 Ar+oLzAOZYqVsJmfqT/JeQmyzMTUkMlDwFy4SHSPAE7xYI0ErIat08TAVoAMarUlsUw1 1jPIUGuyRCKLa602cHoBlPMyYXB96VCAjZKgbPkRK1gcNjIpLH5osnaf9aO+ZGm4g5ex VqGvRp0M0ofwCV+V27E9SaKVKGQgs2Fd3eIiC1iEbdx2bm0U/pJpkLfglZxVlysv1igE BXBg== X-Gm-Message-State: AGi0PuZFYplWDOCEiJayPLfxCQAmnkdeencGMjLc+ICu+/7esO/1S+FU hoG5ja39haKpJ8utYr3NxdCozg== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540577 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 0F46B14B4 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 EAD8820801 for ; Mon, 11 May 2020 12:26:28 +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 S1730040AbgEKM02 (ORCPT ); Mon, 11 May 2020 08:26:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730037AbgEKM00 (ORCPT ); Mon, 11 May 2020 08:26:26 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6D4BC061A0C for ; Mon, 11 May 2020 05:26:26 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id a5so7783458pjh.2 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=ZaKaBmz+KwIrPBc13jjRq5V5p/+Lv6wyJc1H5Bu5q6kyX3/1joadMzuxUT8tBeOHli JByTM9bAnvaAT9tOvOb/VxTLtW5UROXbgoLP0sIyOXAgZ+iI5tWJMAoyZG7cYYlGvdhQ cVS07JqT/AmU+VbvEJ2m3oGXirO223yVQh4IJ4cRtL2rXx+zQ/as1GlAx6C5Hjlnapcu Y68ehjvTI03h4MDrm+O3bWiHE7HDA5rdxL10NygXmyxpqrDmxvkmhe2ZT0uNATownjay /mG9Q3TbmJJ5BN1mpF/iH/Mf5lVMNp9NbKPZlMQ12UQZTYIvHZUk2HYiyY90UkuX1Pcu xcSA== X-Gm-Message-State: AGi0PubdcejXBQ516ihJl5F0F5bAJBkfrVFs4200jkJ/bAvGp8By5W2C O8ymGTREDMlicZd8DCit+P5XsAGI7pI= 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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: 11540585 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 B683014B4 for ; Mon, 11 May 2020 12:26:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9EB70214DB for ; Mon, 11 May 2020 12:26:36 +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 S1730058AbgEKM0c (ORCPT ); Mon, 11 May 2020 08:26:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730042AbgEKM0b (ORCPT ); Mon, 11 May 2020 08:26:31 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 304A1C061A0C for ; Mon, 11 May 2020 05:26:31 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id fu13so7700600pjb.5 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=DgIxNKF6qmPbG2Bzh1isUVki6l4NgADcABFrjEZEnR3a5O3Kv/6WcSxEiOWm4GuIcq UTncfm72WUdhDNOYCCfRS71iuLY2nmDch6XLN03jC6Ls6E152XYuSDZdQ0tBHSJPBClV FaoGJrGe9hMS5dvjLmYkUMdNNWye/XTEu8NAryfaiJ/zPdnnhl4uLQUZR22L+NBxANiY bPKHR5ZpbPoRhDmjqYveZ9xzuXTAcxiqd6LACf0XLzvzmanapHKpzqv33VS1extgnzac C8cUlEd3NE611UIIzhgWbfIEYzLjX1Vu2hVBPGYqAB3h4klmpHx+mBJxOwvC1/j6Fq57 Mq+w== X-Gm-Message-State: AGi0PubxkhRPhUpF0qwknVUrQB+RXiWSDsX+4F9Fli3zhf2zZ9z1X8PD smtYZZYtoRHckjX6CRZL17TLmQ== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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