Skip to contentSkip to conversation

Staging: olpc_dcon: Add space around '|'

PATCH New Dilek Uzulmez 1 participant 1 message Oct 11, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: olpc_dcon: Add space around '|'

Add space around operator '|'. Problem found using checkpatch.pl
CHECK: spaces preferred around that '|' (ctx:VxV)

---
 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c +2 -2
index 1e23ef1..a4f61b7 100644
@@ -65,7 +65,7 @@ static int dcon_init_xo_1_5(struct dcon_priv *dcon)
 	dcon_clear_irq();
 
 	/* set   PMIO_Rx52[6] to enable SCI/SMI on gpio12 */
-	outb(inb(VX855_GPI_SCI_SMI)|BIT_GPIO12, VX855_GPI_SCI_SMI);
+	outb(inb(VX855_GPI_SCI_SMI) | BIT_GPIO12, VX855_GPI_SCI_SMI);
 
 	/* Determine the current state of DCONLOAD, likely set by firmware */
 	/* GPIO1 */
@@ -131,7 +131,7 @@ static void dcon_wiggle_xo_1_5(void)
 	udelay(5);
 
 	/* set   PMIO_Rx52[6] to enable SCI/SMI on gpio12 */
-	outb(inb(VX855_GPI_SCI_SMI)|BIT_GPIO12, VX855_GPI_SCI_SMI);
+	outb(inb(VX855_GPI_SCI_SMI) | BIT_GPIO12, VX855_GPI_SCI_SMI);
 }
 
 static void dcon_set_dconload_xo_1_5(int val)
Signature · 1 line
1.9.1