[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180622084400.GA9408@sesnaco>
Date: Fri, 22 Jun 2018 11:44:00 +0300
From: Mawanda Henry <mawandahenrynaco@...il.com>
To: mawanda111@...il.com
Cc: linux-kernel@...r.kernel.org, robh@...nel.org,
marc.zyngier@....com, tglx@...utronix.de, punit.agrawal@....com,
peterz@...radead.org, arnd@...db.de, robin.murphy@....com
Subject: [PATCH 2/4] drivers/bus: arm-cci: trailing white spaces
Erase white spaces to ease code readability and review
used: checkpatch.pl
Signed-off-by: Mawanda Henry <mawandahenrynaco@...il.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
Powered by blists - more mailing lists