linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Tudor Ambarus <tudor.ambarus@linaro.org>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	 Alim Akhtar <alim.akhtar@samsung.com>
Cc: andre.draszik@linaro.org, peter.griffin@linaro.org,
	 willmcvicker@google.com, kernel-team@android.com,
	 linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	 Tudor Ambarus <tudor.ambarus@linaro.org>
Subject: [PATCH 1/3] firmware: exynos-acpm: rename exynos-acpm.h to exynos-acpm-xfer.h
Date: Mon, 24 Feb 2025 08:01:22 +0000	[thread overview]
Message-ID: <20250224-acpm-debugfs-v1-1-2418a3ea1b17@linaro.org> (raw)
In-Reply-To: <20250224-acpm-debugfs-v1-0-2418a3ea1b17@linaro.org>

Rename header file to better indicate what it is used for.
This is a preparation patch, as exynos-acpm.h will be later on
introduced and included between the core driver and its debugfs
logging feature.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
---
 drivers/firmware/samsung/exynos-acpm-pmic.c                    | 2 +-
 drivers/firmware/samsung/{exynos-acpm.h => exynos-acpm-xfer.h} | 6 +++---
 drivers/firmware/samsung/exynos-acpm.c                         | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/firmware/samsung/exynos-acpm-pmic.c b/drivers/firmware/samsung/exynos-acpm-pmic.c
index 85e90d236da2..9ad4cb82fae1 100644
--- a/drivers/firmware/samsung/exynos-acpm-pmic.c
+++ b/drivers/firmware/samsung/exynos-acpm-pmic.c
@@ -9,7 +9,7 @@
 #include <linux/ktime.h>
 #include <linux/types.h>
 
-#include "exynos-acpm.h"
+#include "exynos-acpm-xfer.h"
 #include "exynos-acpm-pmic.h"
 
 #define ACPM_PMIC_CHANNEL		GENMASK(15, 12)
diff --git a/drivers/firmware/samsung/exynos-acpm.h b/drivers/firmware/samsung/exynos-acpm-xfer.h
similarity index 79%
rename from drivers/firmware/samsung/exynos-acpm.h
rename to drivers/firmware/samsung/exynos-acpm-xfer.h
index 2d14cb58f98c..0b76a270b773 100644
--- a/drivers/firmware/samsung/exynos-acpm.h
+++ b/drivers/firmware/samsung/exynos-acpm-xfer.h
@@ -4,8 +4,8 @@
  * Copyright 2020 Google LLC.
  * Copyright 2024 Linaro Ltd.
  */
-#ifndef __EXYNOS_ACPM_H__
-#define __EXYNOS_ACPM_H__
+#ifndef __EXYNOS_ACPM_XFER_H__
+#define __EXYNOS_ACPM_XFER_H__
 
 struct acpm_xfer {
 	const u32 *txd;
@@ -20,4 +20,4 @@ struct acpm_handle;
 int acpm_do_xfer(const struct acpm_handle *handle,
 		 const struct acpm_xfer *xfer);
 
-#endif /* __EXYNOS_ACPM_H__ */
+#endif /* __EXYNOS_ACPM_XFER_H__ */
diff --git a/drivers/firmware/samsung/exynos-acpm.c b/drivers/firmware/samsung/exynos-acpm.c
index a85b2dbdd9f0..3c14afc89fd7 100644
--- a/drivers/firmware/samsung/exynos-acpm.c
+++ b/drivers/firmware/samsung/exynos-acpm.c
@@ -27,7 +27,7 @@
 #include <linux/slab.h>
 #include <linux/types.h>
 
-#include "exynos-acpm.h"
+#include "exynos-acpm-xfer.h"
 #include "exynos-acpm-pmic.h"
 
 #define ACPM_PROTOCOL_SEQNUM		GENMASK(21, 16)

-- 
2.48.1.601.g30ceb7b040-goog



  reply	other threads:[~2025-02-24  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-24  8:01 [PATCH 0/3] firmware: samsung: add ACPM debugfs support Tudor Ambarus
2025-02-24  8:01 ` Tudor Ambarus [this message]
2025-02-24  8:01 ` [PATCH 2/3] firmware: exynos-acpm: move common structures to exynos-acpm.h Tudor Ambarus
2025-02-24  8:01 ` [PATCH 3/3] firmware: samsung: add ACPM debugfs support Tudor Ambarus
2025-03-05 19:37   ` Krzysztof Kozlowski
2025-03-12  7:11     ` Tudor Ambarus
2025-03-17 14:23       ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250224-acpm-debugfs-v1-1-2418a3ea1b17@linaro.org \
    --to=tudor.ambarus@linaro.org \
    --cc=alim.akhtar@samsung.com \
    --cc=andre.draszik@linaro.org \
    --cc=kernel-team@android.com \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=peter.griffin@linaro.org \
    --cc=willmcvicker@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).