Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1586626 > unrolled thread
| Started by | Kenneth Hsu <kennethhsu@gmail.com> |
|---|---|
| First post | 2017-02-23 04:10 +0100 |
| Last post | 2017-02-23 04:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH] staging: olpc_dcon: add whitespace around binary operators Kenneth Hsu <kennethhsu@gmail.com> - 2017-02-23 04:10 +0100
| From | Kenneth Hsu <kennethhsu@gmail.com> |
|---|---|
| Date | 2017-02-23 04:10 +0100 |
| Subject | [PATCH] staging: olpc_dcon: add whitespace around binary operators |
| Message-ID | <tdRX4-3og-7@gated-at.bofh.it> |
This fixes a coding style issue where whitespace characters were missing around some binary OR operators. Signed-off-by: Kenneth Hsu <kennethhsu@gmail.com> --- drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c b/drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c index 75c3c2fe9560..64584425b01c 100644 --- a/drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c +++ b/drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c @@ -64,7 +64,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 */ @@ -129,7 +129,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) -- 2.11.1
Back to top | Article view | linux.kernel
csiph-web