[PATCH 2/4] drivers/bus: arm-cci: trailing white spaces
From: Mawanda Henry
Date: Fri Jun 22 2018 - 04:44:22 EST
Erase white spaces to ease code readability and review
used: checkpatch.pl
Signed-off-by: Mawanda Henry <mawandahenrynaco@xxxxxxxxx>
---
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