[PATCH v3] staging: iio: light: Replace symbolic permissions as per coding style

2017-05-19 Thread surenderpolsani
From: Surender Polsani Fixed the following checkpatch.pl warnings: octal permissions are more preferable than symbolic permissions Replaced DEVICE_ATTR family macros with DEVICE_ATTR_RW family as suggested by Greg K-H. Changed attributes and function names where ever required to satisfy internal

[PATCH v2] staging: iio: light: Replace symbolic permissions as per coding style

2017-05-19 Thread surenderpolsani
From: Surender Polsani Fixed the following checkpatch.pl warnings: octal permissions are more preferable than symbolic permissions Replaced DEVICE_ATTR family macros with DEVICE_ATTR_RW family as suggested by Greg K-H. Changed attributes and function names where ever required to satisfy internal

[PATCH v2] staging: iio: light: Replace symbolic permissions as per coding style

2017-05-19 Thread surenderpolsani
From: Surender Polsani Fixed the following checkpatch.pl warnings: octal permissions are more preferable than symbolic permissions Replaced DEVICE_ATTR family macros with DEVICE_ATTR_RW family as suggested by Greg K-H. Changed attributes and function names where ever required to satisfy internal

[PATCH] staging: iio: light: Replace symbolic permissions as per coding style

2017-05-18 Thread surenderpolsani
From: Surender Polsani Fixed the following checkpatch.pl warnings: octal permissions are more preferable than symbolic permissions Signed-off-by: Surender Polsani --- drivers/staging/iio/light/tsl2x7x_core.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --g

[PATCH] staging : rtl8188eu : remove void function return

2017-04-20 Thread surenderpolsani
kernel coding style doesn't allow the return statement in void function. Signed-off-by: Surenderp --- Changes for v2: corrected subject line as suggested Changes for v3: modified from line as suggested by Greg KH placed a semicolon in label for fixing build error --- drivers/staging/rtl8188eu/ha

[PATCH] staging : rtl8188eu : remove void function return

2017-04-14 Thread surenderpolsani
kernel coding style doesn't allow the return statement in void function. Signed-off-by: surenderpolsani --- Changes for v2: corrected subject line as suggested --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188e

[PATCH] remove return statement

2017-04-14 Thread surenderpolsani
staging : rtl8188e : remove return in void function kernel coding style doesn't allow the return statement in void function. Signed-off-by: surenderpolsani --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8188e