[OPW,kernel] Staging: cxt1e1: moving { to the previous line
diff mbox

Message ID 20131014132610.GA3784@Ashvini
State Accepted
Headers show

Commit Message

Ashvini Varatharaj Oct. 14, 2013, 1:26 p.m. UTC
Fix checkpatch error: ERROR: that open brace { should be on the previous
line

Signed-off-by: Ashvini Varatharaj <ashvinivaratharaj@gmail.com>
---
 drivers/staging/cxt1e1/comet.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Josh Triplett Oct. 14, 2013, 2:55 p.m. UTC | #1
On Mon, Oct 14, 2013 at 06:56:10PM +0530, Ashvini Varatharaj wrote:
> Fix checkpatch error: ERROR: that open brace { should be on the previous
> line
> 
> Signed-off-by: Ashvini Varatharaj <ashvinivaratharaj@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

> ---
>  drivers/staging/cxt1e1/comet.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/cxt1e1/comet.c b/drivers/staging/cxt1e1/comet.c
> index 8cef283..46a0d92 100644
> --- a/drivers/staging/cxt1e1/comet.c
> +++ b/drivers/staging/cxt1e1/comet.c
> @@ -145,8 +145,7 @@ void init_comet(void *ci, comet_t *comet, u_int32_t port_mode, int clockmaster,
>      /* Enable 8 out of 10 validation */
>  	 /* t1RBOC enable(BOC:BitOriented Code) */
>  	pci_write_32((u_int32_t *) &comet->t1_rboc_ena, 0x00);
> -	if (isT1mode)
> -	{
> +	if (isT1mode) {
>  		/* IBCD cfg: aka Inband Code Detection ** loopback code length set to */
>  		/* 6 bit down, 5 bit up (assert) */
>  		pci_write_32((u_int32_t *) &comet->ibcd_cfg, 0x04);
> -- 
> 1.7.9.5
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Patch
diff mbox

diff --git a/drivers/staging/cxt1e1/comet.c b/drivers/staging/cxt1e1/comet.c
index 8cef283..46a0d92 100644
--- a/drivers/staging/cxt1e1/comet.c
+++ b/drivers/staging/cxt1e1/comet.c
@@ -145,8 +145,7 @@  void init_comet(void *ci, comet_t *comet, u_int32_t port_mode, int clockmaster,
     /* Enable 8 out of 10 validation */
 	 /* t1RBOC enable(BOC:BitOriented Code) */
 	pci_write_32((u_int32_t *) &comet->t1_rboc_ena, 0x00);
-	if (isT1mode)
-	{
+	if (isT1mode) {
 		/* IBCD cfg: aka Inband Code Detection ** loopback code length set to */
 		/* 6 bit down, 5 bit up (assert) */
 		pci_write_32((u_int32_t *) &comet->ibcd_cfg, 0x04);