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