[PATCH 05/14] staging: csr: Removed spaces between ( and arguments and ) on io.c

From: Sangho Yi
Date: Mon Oct 15 2012 - 13:24:46 EST


I found many coding style errors including spaces like this:
foo ( arg );
So, I fixed them as follows-> foo (arg);

Signed-off-by: Sangho Yi <antiroot@xxxxxxxxx>
---
drivers/staging/csr/io.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/csr/io.c b/drivers/staging/csr/io.c
index 6f89556..ed34914 100644
--- a/drivers/staging/csr/io.c
+++ b/drivers/staging/csr/io.c
@@ -349,7 +349,7 @@ register_unifi_sdio(CsrSdioFunction *sdio_dev, int bus_id, struct device *dev)
priv->totalInterfaceCount =0;

for(i=1;i<CSR_WIFI_NUM_INTERFACES;i++) {
- if( !uf_alloc_netdevice_for_other_interfaces(priv,i) ) {
+ if(!uf_alloc_netdevice_for_other_interfaces(priv,i)) {
/* error occured while allocating the
* net_device for interface[i].
* The net_device are allocated for the
@@ -896,7 +896,7 @@ uf_read_proc(char *page, char **start, off_t offset, int count,
return 0;
}

- p = kmalloc( UNIFI_DEBUG_TXT_BUFFER, GFP_KERNEL );
+ p = kmalloc(UNIFI_DEBUG_TXT_BUFFER, GFP_KERNEL);

orig_p = p;

@@ -953,24 +953,24 @@ uf_read_proc(char *page, char **start, off_t offset, int count,

written = UNIFI_DEBUG_TXT_BUFFER - remain;

- if( offset >= written ) {
+ if(offset >= written) {
*eof = 1;
- kfree( orig_p );
+ kfree(orig_p);
return(0);
}

- if( offset + count > written ) {
+ if(offset + count > written) {
actual_amount_to_copy = written - offset;
*eof = 1;
} else {
actual_amount_to_copy = count;
}

- memcpy( page, &(orig_p[offset]), actual_amount_to_copy );
+ memcpy(page, &(orig_p[offset]), actual_amount_to_copy);

- kfree( orig_p );
+ kfree(orig_p);

- return( actual_amount_to_copy );
+ return(actual_amount_to_copy);
} /* uf_read_proc() */
#endif

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/