* [PATCH 2/4] drivers/bus: arm-cci: trailing white spaces
@ 2018-06-22 8:44 Mawanda Henry
0 siblings, 0 replies; only message in thread
From: Mawanda Henry @ 2018-06-22 8:44 UTC (permalink / raw)
To: mawanda111
Cc: linux-kernel, robh, marc.zyngier, tglx, punit.agrawal, peterz,
arnd, robin.murphy
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-22 8:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-22 8:44 [PATCH 2/4] drivers/bus: arm-cci: trailing white spaces Mawanda Henry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).