[PATCH] Staging: rtl8188eu: fixed coding style issues

2016-04-30 Thread Jacky Boen
Fixed parentheses, braces, comments, constants on the left side comparisons, extra newlines and indentations, NULL comparisons, and a typo. Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 73 ++--- 1 file changed, 34 insertions(+), 39

[PATCH 07/11] Staging: drivers: rtl8188eu: fixed extraneous indentation

2016-05-01 Thread Jacky Boen
Fixed coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index c37ba49..f5e8ac0 100644 --- a

[PATCH 01/11] Staging: drivers: rtl8188eu: move constants to the right in comparisons

2016-05-01 Thread Jacky Boen
Fixed coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 07a61b8..c5e5d52 100644

[PATCH 02/11] Staging: drivers: rtl8188eu: fixed typo

2016-05-01 Thread Jacky Boen
Fixed typo Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index c5e5d52..7831f19 100644 --- a/drivers/staging

[PATCH 05/11] Staging: drivers: rtl8188eu: fixed brace style

2016-05-01 Thread Jacky Boen
Fixed coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 58d38d6..814ecec 100644 --- a

[PATCH 04/11] Staging: drivers: rtl8188eu: fixed newlines style

2016-05-01 Thread Jacky Boen
Fixed coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 507e448..58d38d6 100644

[PATCH 06/11] Staging: drivers: rtl8188eu: fixed unnecessary else branch

2016-05-01 Thread Jacky Boen
Fixed coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 814ecec..c37ba49 100644

[PATCH 09/11] Staging: drivers: rtl8188eu: fixed extraneous spaces

2016-05-01 Thread Jacky Boen
Fix coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index a3fffd7..82269eb 100644 --- a

[PATCH 03/11] Staging: drivers: rtl8188eu: fixed block comments style

2016-05-01 Thread Jacky Boen
Fixed coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 7831f19..507e448

[PATCH 08/11] Staging: drivers: rtl8188eu: fixed extraneous parentheses

2016-05-01 Thread Jacky Boen
Fix coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 30 ++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index

[PATCH 11/11] Staging: drivers: rtl8188eu: use sizeof(*ptr) instead of sizeof(struct)

2016-05-01 Thread Jacky Boen
Fix coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index ef04638..13c1277 100644 --- a

[PATCH 10/11] Staging: drivers: rtl8188eu: fixed if-NULL comparisons style

2016-05-01 Thread Jacky Boen
Fixed coding style issue Signed-off-by: Jacky Boen --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 82269eb..ef04638 100644