From: Artem Shimko <artyom.shimko@gmail.com>
To: Sudeep Holla <sudeep.holla@arm.com>,
Cristian Marussi <cristian.marussi@arm.com>
Cc: Artem Shimko <artyom.shimko@gmail.com>,
arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] firmware: arm_scmi: fix alignment in protocol_id_show and debugfs calls
Date: Mon, 1 Sep 2025 19:33:00 +0300 [thread overview]
Message-ID: <20250901163304.2504493-2-artyom.shimko@gmail.com> (raw)
In-Reply-To: <20250901163304.2504493-1-artyom.shimko@gmail.com>
This patch fixes minor alignment/indentation issues in the SCMI driver:
Adjusts indentation in protocol_id_show function to maintain consistency
Fixes alignment in debugfs_create_file_aux_num calls in raw_mode.c
Signed-off-by: Artem Shimko <artyom.shimko@gmail.com>
---
drivers/firmware/arm_scmi/bus.c | 2 +-
drivers/firmware/arm_scmi/raw_mode.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/firmware/arm_scmi/bus.c b/drivers/firmware/arm_scmi/bus.c
index 24e59ddf85e7..e1e82139997c 100644
--- a/drivers/firmware/arm_scmi/bus.c
+++ b/drivers/firmware/arm_scmi/bus.c
@@ -298,7 +298,7 @@ static ssize_t modalias_show(struct device *dev,
static DEVICE_ATTR_RO(modalias);
static ssize_t protocol_id_show(struct device *dev,
- struct device_attribute *attr, char *buf)
+ struct device_attribute *attr, char *buf)
{
struct scmi_device *scmi_dev = to_scmi_dev(dev);
diff --git a/drivers/firmware/arm_scmi/raw_mode.c b/drivers/firmware/arm_scmi/raw_mode.c
index 73db5492ab44..244453d3e7aa 100644
--- a/drivers/firmware/arm_scmi/raw_mode.c
+++ b/drivers/firmware/arm_scmi/raw_mode.c
@@ -1280,12 +1280,12 @@ void *scmi_raw_mode_init(const struct scmi_handle *handle,
chd = debugfs_create_dir(cdir, top_chans);
debugfs_create_file_aux_num("message", 0600, chd,
- raw, channels[i],
- &scmi_dbg_raw_mode_message_fops);
+ raw, channels[i],
+ &scmi_dbg_raw_mode_message_fops);
debugfs_create_file_aux_num("message_async", 0600, chd,
- raw, channels[i],
- &scmi_dbg_raw_mode_message_async_fops);
+ raw, channels[i],
+ &scmi_dbg_raw_mode_message_async_fops);
debugfs_create_file_aux_num("message_poll", 0600, chd,
raw, channels[i],
--
2.43.0
next prev parent reply other threads:[~2025-09-01 16:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-01 16:32 [PATCH 0/2] Subject: [PATCH v2 0/2] firmware: arm_scmi: Minor cleanups and documentation fixes Artem Shimko
2025-09-01 16:33 ` Artem Shimko [this message]
2025-09-01 16:33 ` [PATCH 2/2] firmware: arm_scmi: add missing spinlock documentation Artem Shimko
-- strict thread matches above, loose matches on Subject: below --
2025-09-01 16:12 [PATCH 0/2] firmware: arm_scmi: Minor cleanups and documentation fixes Artem Shimko
2025-09-01 16:12 ` [PATCH 1/2] firmware: arm_scmi: fix alignment in protocol_id_show and debugfs calls Artem Shimko
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=20250901163304.2504493-2-artyom.shimko@gmail.com \
--to=artyom.shimko@gmail.com \
--cc=arm-scmi@vger.kernel.org \
--cc=cristian.marussi@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sudeep.holla@arm.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
all inboxes | Powered by JetHome®