lkml.org 
[lkml]   [2018]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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
\
 
 \ /
  Last update: 2018-06-22 10:45    [W:0.027 / U:2.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site