From: Mawanda Henry <mawandahenrynaco@gmail.com>
To: mawanda111@gmail.com
Cc: linux-kernel@vger.kernel.org, robh@kernel.org,
marc.zyngier@arm.com, tglx@linutronix.de, punit.agrawal@arm.com,
peterz@infradead.org, arnd@arndb.de, robin.murphy@arm.com
Subject: [PATCH 2/4] drivers/bus: arm-cci: trailing white spaces
Date: Fri, 22 Jun 2018 11:44:00 +0300 [thread overview]
Message-ID: <20180622084400.GA9408@sesnaco> (raw)
Erase white spaces to ease code readability and review
used: checkpatch.pl
Signed-off-by: Mawanda Henry <mawandahenrynaco@gmail.com>
---
drivers/bus/arm-cci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c
index 74a2e0a..ab04201 100644
--- a/drivers/bus/arm-cci.c
+++ b/drivers/bus/arm-cci.c
@@ -235,8 +235,7 @@ static void notrace cci_port_control(unsigned int port, bool enable)
* read loop to optimize power, since it might hide possibly
* disruptive operations.
*/
- while (readl_relaxed(cci_ctrl_base + CCI_CTRL_STATUS) & 0x1)
- ;
+ while (readl_relaxed(cci_ctrl_base + CCI_CTRL_STATUS) & 0x1);
}
/**
@@ -259,6 +258,7 @@ int notrace cci_disable_port_by_cpu(u64 mpidr)
int cpu;
bool is_valid;
for (cpu = 0; cpu < nr_cpu_ids; cpu++) {
+
is_valid = cpu_port_is_valid(&cpu_port[cpu]);
if (is_valid && cpu_port_match(&cpu_port[cpu], mpidr)) {
cci_port_control(cpu_port[cpu].port, false);
--
2.7.4
reply other threads:[~2018-06-22 8:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20180622084400.GA9408@sesnaco \
--to=mawandahenrynaco@gmail.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=mawanda111@gmail.com \
--cc=peterz@infradead.org \
--cc=punit.agrawal@arm.com \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=tglx@linutronix.de \
/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®