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