Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1831291ybk; Mon, 11 May 2020 05:27:25 -0700 (PDT) X-Google-Smtp-Source: APiQypIOkYqcraDSmA7IQXfLZkSSuEH06LU4qU3lGpe5XccDya1wE+U4dgtevnnUyJ+Efa8+xcTl X-Received: by 2002:a50:cb8a:: with SMTP id k10mr5274350edi.345.1589200045537; Mon, 11 May 2020 05:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589200045; cv=none; d=google.com; s=arc-20160816; b=IKnH1mb+mUgTQiDJF548RRYMBmBeEh/J8YdYZ3ou9sV/I7A79CP0KmiRTVmy0aV0cC M+CVs+OYJkewgDNgLY7sZ0tfd/FtOHFwrO/O/cRcBT3wxIVTYK7DsxTuAvMhyEpFHFuC WO7rhxXQzomVMhMLH1r3uF1/vjdAWmspSPMFWkjRIshNuLHVBR3XeogclG+w4/25A1Wh XSherhBZLK2PUpr6p3k9MNezIcVJTH/+PGiq8nTFXpktlGXt34LMLdLAOLgO8v/h7NVW 2Q6riG2kCbsn2cVjx+nalI88XAdzdftIerbUok8z35m13iFqVBkE1H/n1kcRTxIltTx+ aVQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mBbC+ezL0KWKqu+8vW0N3H42ESoBL1sfIZ3GqpH00rY=; b=F7ByESj+fuUrleOz3nCVs32KvzGicYfDialnto7f59LL/yiULX3DXrY5ixqNKHTe2g 7b7yUScYl2Ckr8GeWqkHu9dpK9FSMJIxuyZShFi6pJ5mWNXcc/RNmwG76/EyHc6QM2FA P0hNuAiYcChivkOpStj2zoR0ESZwuM0Eoe8PfZ+/l5IuqNF8ApA2XP04fZo5xOiQzv5T 8YgX9r0HttqYbKoc/rSbDdDQGzBtnarhwoTUAjotEXHX2wXmpumGMr7jQvI9n8pAgjSn T/7rCN+AhRqRVH6iWKT0s1zxX7PM9E78Za5LZFHgFbq3XoqNOfrBWUHprvcOtHI6xKsZ SCHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bGYeTY6u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x20si698976eds.451.2020.05.11.05.27.01; Mon, 11 May 2020 05:27:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bGYeTY6u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729476AbgEKMZe (ORCPT + 99 others); Mon, 11 May 2020 08:25:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728367AbgEKMZd (ORCPT ); Mon, 11 May 2020 08:25:33 -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 D1FDAC061A0C for ; Mon, 11 May 2020 05:25:32 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id ms17so7710848pjb.0 for ; Mon, 11 May 2020 05:25:32 -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:mime-version :content-transfer-encoding; bh=mBbC+ezL0KWKqu+8vW0N3H42ESoBL1sfIZ3GqpH00rY=; b=bGYeTY6uUMYmDC8/JS2RcivTZxIUqiyAoYDMsewOLeVVKPx9RukMNkacaRde9KhMm9 RF/ZHiwNHykgJedc/Ui4kZK9lJnx2FTBwgxBTppuXAQjaMGETOigUthGyJhxx1+MIY1t uML41c8mcwJiGpJ4Zg2ZQUzLdAv0VPk0N2v9777dfnHtUplRqX3+lyysRoQhD5oGT6GL XiJhMOIU6VSAb8PYfli5OAM0Y0AUPHDM4C9r+wgHxonXO5JGuSnhKslCQya9PSaDnsJm jdRklIPGjGt2w+eH2inBUUVMAykkCJGhL7pRya8JLTtQOjuIUMCAtxbXJzuADVBYEh4B RiZw== 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:mime-version :content-transfer-encoding; bh=mBbC+ezL0KWKqu+8vW0N3H42ESoBL1sfIZ3GqpH00rY=; b=VVjSGWXr98/SDjZG0DcOfTVGkmz0LrS6K/688fof0v63ibWvNoN0wXNIfoQsw0Ywn4 65aPQ89hNCitQucE35TLVuqPRJwh/siJGOaSS073Sj33+AJRRxomNqrR5tM0LpYPhnFt 4TfHkbJBFGd4pI4FkJiPLscbzkpyxHnE/xt63xZs1vFqequQVS9IqZBzUBb5ol9sLq1W tLKEsvrqg4JNfhTZ1441sNsZe2A0L5YS/n2/bycavP55783uqEO5v+/KAXFqCXhrokxI cFF4xBrC2krDyQo4CRXoR/KU5OH9V71v7Y1SaVkKYvFSVX/NFpQRpqYRHrbSn3DjLknX zEjw== X-Gm-Message-State: AOAM532Ug8iPpHPxzoh/Xr0lmBpj1OfIuJUljsE2WkTWUl4QUe9LiEfV siM0FI041lJhKl8A3TjzDGP7CL7mwb0= X-Received: by 2002:a17:902:8c8f:: with SMTP id t15mr1202490plo.183.1589199931586; Mon, 11 May 2020 05:25:31 -0700 (PDT) Received: from localhost ([45.127.45.102]) by smtp.gmail.com with ESMTPSA id e135sm9195880pfh.37.2020.05.11.05.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 05:25:30 -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 00/14] thermal core include cleanups Date: Mon, 11 May 2020 17:54:48 +0530 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I noticed some remnants from when thermal core could be modular. While cleaning that up, I fixed up the includes to be sorted alphabetically and included export.h in files that were using EXPORT_SYMBOL* or THIS_MODULE while at the same time removing inclusion of module.h from core files. Finally, the names of the source files for the governors and core have some inconsistencies and the last couple of patches rename them. Build and boot tested on some ARM boards. Amit Kucheria (14): thermal/core: Get rid of MODULE_* tags thermal/core: Replace module.h with export.h thermal/drivers/thermal_helpers: Sort headers alphabetically thermal/drivers/thermal_helpers: Include export.h thermal/drivers/thermal_hwmon: Sort headers alphabetically thermal/drivers/thermal_hwmon: Include export.h thermal/drivers/clock_cooling: Sort headers alphabetically thermal/drivers/clock_cooling: Include export.h thermal/drivers/cpufreq_cooling: Sort headers alphabetically thermal/drivers/cpufreq_cooling: Replace module.h with export.h thermal/drivers/of-thermal: Sort headers alphabetically thermal/drivers/user_space: Sort headers alphabetically thermal/governors: Prefix all source files with gov_ thermal/of: Rename of-thermal.c drivers/thermal/Makefile | 10 +++++----- drivers/thermal/clock_cooling.c | 3 ++- drivers/thermal/cpufreq_cooling.c | 10 +++++----- drivers/thermal/{fair_share.c => gov_fair_share.c} | 0 .../{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} | 2 +- drivers/thermal/thermal_core.c | 6 +----- drivers/thermal/thermal_helpers.c | 3 ++- drivers/thermal/thermal_hwmon.c | 6 ++++-- drivers/thermal/{of-thermal.c => thermal_of.c} | 10 +++++----- 11 files changed, 25 insertions(+), 25 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%) rename drivers/thermal/{of-thermal.c => thermal_of.c} (100%) -- 2.20.1