Re: [PATCH V2 1/2] iio: meter: ade7754: add error handling in _reset and _stop_device

2015-01-04 Thread sanjeev sharma
On Fri, Jan 2, 2015 at 2:32 PM, Devendra Naga devendra.a...@gmail.com wrote: This patch adds the error handling for the value returned from ade7754_spi_read_reg_8. With this patch, the following randconfig warnings get fixed automatically. drivers/staging/iio/meter/ade7754.c:222:6: warning:

Re: [PATCH] cptm1217: check if interrupts are masked at probe

2015-01-04 Thread sanjeev sharma
On Mon, Jan 5, 2015 at 11:41 AM, devendra.aaru devendra.a...@gmail.com wrote: On Mon, Jan 5, 2015 at 1:04 AM, sanjeev sharma sanjeevsharmae...@gmail.com wrote: On Fri, Jan 2, 2015 at 11:47 PM, Devendra Naga devendra.a...@gmail.com wrote: the function cp_tm1217_mask_interrupt can return

Re: [PATCH] cptm1217: check if interrupts are masked at probe

2015-01-04 Thread sanjeev sharma
On Mon, Jan 5, 2015 at 11:52 AM, devendra.aaru devendra.a...@gmail.com wrote: On Mon, Jan 5, 2015 at 1:21 AM, sanjeev sharma sanjeevsharmae...@gmail.com wrote: On Mon, Jan 5, 2015 at 11:41 AM, devendra.aaru devendra.a...@gmail.com wrote: On Mon, Jan 5, 2015 at 1:04 AM, sanjeev sharma

Re: [PATCH] cptm1217: check if interrupts are masked at probe

2015-01-04 Thread sanjeev sharma
On Fri, Jan 2, 2015 at 11:47 PM, Devendra Naga devendra.a...@gmail.com wrote: the function cp_tm1217_mask_interrupt can return failure. added the check and the failure path. Cc: Ramesh Agarwal ramesh.agar...@intel.com Signed-off-by: Devendra Naga devendra.a...@gmail.com --- build tested

[PATCH] staging:rtl8723au: core: Fix checkpatch warning

2014-11-11 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Warning by introducing temporary structure. WARNING: line over 80 characters Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 42 1 file changed, 21

[PATCH] staging:rtl8723au: core: fix checkpatch error: that open brace { should be on the previous line

2014-11-11 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Error. ERROR: that open brace { should be on the previous line Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 79 +++- 1 file changed, 38 insertions

[PATCH] staging:rtl8723au: core: Added missing space reported by checkpatch.

2014-11-10 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Error. ERROR: spaces required around that '' (ctx:WxV) Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH v2] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes Error reported by checkpatch. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- Changes in v2: - Shorten variable name by taking temporary structure drivers/staging/rtl8723au/core/rtw_cmd.c | 126 +++ 1

[PATCH] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following error. ERROR: spaces required around that '' (ctx:WxV) ERROR: that open brace { should be on the previous line Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 83

[PATCH] staging:rtl8723au: core: Fix Warning reported by checkpatch.

2014-11-05 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Warning by introducing temporary structure. WARNING: line over 80 characters Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 123 +++ 1 file changed, 60

[PATCH] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-10-27 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes Error reported by checkpatch. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 83 +++- 1 file changed, 40 insertions(+), 43 deletions(-) diff --git a/drivers

[PATCH v2] staging:r8190_rtl8256: coding style: Fixed commenting style

2014-09-08 Thread Sanjeev Sharma
This is a patch to the r8190_rtl8256.c file that fixes commenting style Error Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- Changes in v2: - removed stuff which is not being used ad per greg comment drivers/staging/rtl8192u/r8190_rtl8256.c | 52

[PATCH] staging:r8190_rtl8256: coding style: Fixed commenting style

2014-08-25 Thread Sanjeev Sharma
This is a patch to the r8190_rtl8256.c file that fixes commenting style Error Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r8190_rtl8256.c | 59 +--- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/drivers

[PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-20 Thread Sanjeev Sharma
This is a patch to the iio which will move all platform_data into include/linux/iio. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/iio/adc/ad7192.c| 3 +- drivers/staging/iio/adc/ad7192.h| 47 - drivers/staging/iio/adc

[PATCH] staging:r819xU: coding style: Fixed commenting style

2014-08-07 Thread Sanjeev Sharma
This is a patch to the r819xU_phyreg.h file that fixes commenting style warning Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phyreg.h | 188 --- 1 file changed, 97 insertions(+), 91 deletions(-) diff --git a/drivers

[PATCH v2 0/3] Fixed commenting style problem

2014-07-30 Thread Sanjeev Sharma
AddedSigned-off-by: line that was missing. Sanjeev Sharma (3): staging:r8180: coding style: Fixed commenting style staging:r8180: coding style: Fixed too long lines staging:r8190: coding style: Fixed checkpatch reported Error drivers/staging/rtl8192u/r8180_93cx6.c | 15 +-- drivers

[PATCH v2 2/3] staging:r8180: coding style: Fixed too long lines

2014-07-30 Thread Sanjeev Sharma
This is a patch to the r8180_93cx6.h file that fixes long lines along with some additional warning. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- Changes in v2: - Added signed-off field. drivers/staging/rtl8192u/r8180_93cx6.h | 11 +++ 1 file changed, 7 insertions(+), 4

[PATCH v2 1/3] staging:r8180: coding style: Fixed commenting style

2014-07-30 Thread Sanjeev Sharma
This is a patch to the r8180_93cx6.c file that fixes commenting style warning Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- Changes in v2: - Added signed-off field. drivers/staging/rtl8192u/r8180_93cx6.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff

[PATCH v2 3/3] staging:r8190: coding style: Fixed checkpatch reported Error

2014-07-30 Thread Sanjeev Sharma
This is a patch to the r8190_rtl8256.c file that fixes checkpatch reported space coding style issues. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- Changes in v2: - Added space character in the signed-off-by field. drivers/staging/rtl8192u/r8190_rtl8256.c | 169

[PATCH] staging:r8180: coding style: Fixed commenting style

2014-07-29 Thread Sanjeev Sharma
This is a patch to the r8180_93cx6.c file that fixes commenting style warning --- drivers/staging/rtl8192u/r8180_93cx6.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192u/r8180_93cx6.c b/drivers/staging/rtl8192u/r8180_93cx6.c index

[PATCH] staging:r8180: coding style: Fixed too long lines

2014-07-29 Thread Sanjeev Sharma
This is a patch to the r8180_93cx6.h file that fixes long lines along with some additional warning. --- drivers/staging/rtl8192u/r8180_93cx6.h | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/r8180_93cx6.h

[PATCH] staging:r8190: coding style: Fixed checkpatch reported Error

2014-07-29 Thread Sanjeev Sharma
This is a patch to the r8190_rtl8256.c file that fixes checkpatch reported space coding style issues. --- drivers/staging/rtl8192u/r8190_rtl8256.c | 167 +++ 1 file changed, 80 insertions(+), 87 deletions(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256.c

[PATCH] staging:r8190: coding style: Fixed checkpatch reported Error

2014-07-29 Thread Sanjeev Sharma
This is a patch to the r8190_rtl8256.c file that fixes checkpatch reported space coding style issues. Signed-off-by: Sanjeev Sharmasanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r8190_rtl8256.c | 169 +++ 1 file changed, 79 insertions(+), 90 deletions(-)

[PATCH] staging: android: Fixed missing blank line

2014-07-17 Thread sanjeev sharma
From: root r...@inndt291.inn.mentorg.com This patch will add an blank line after declaration reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/android/sw_sync.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging

[PATCH v2] staging: android: Fixed missing blank line

2014-07-17 Thread sanjeev sharma
From: sanjeevs1 sanjeev_sha...@mentor.com This patch will add an blank line after declaration reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- Changes in v2: - Fixed frm header drivers/staging/android/sw_sync.c | 2 ++ 1 file changed, 2 insertions

[PATCH] staging: android: Fixed missing blank line

2014-07-17 Thread Sanjeev Sharma
This patch will add an blank line after declaration reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/android/sw_sync.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android

[PATCH v4 0/4] staging: rtl8192u: checkpatch fixes

2014-07-10 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This version of patch incorporated Joe Greg KH review comment. sanjeev sharma (4): staging: rtl8192u: Remove useless return statement staging: rtl8192u: Removed unnecessary whitespace tab warning staging: rtl8192u: Fixed switch and case

[PATCH v4 3/4] staging: rtl8192u: Fixed switch and case indentation error

2014-07-10 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This patch will fix switch and case indentation Error reported by checkpatch script. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions

[PATCH v4 1/4] staging: rtl8192u: Remove useless return statement

2014-07-10 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This patch will remove unneeded return statements in code. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/staging/rtl8192u

[PATCH v4 2/4] staging: rtl8192u: Removed unnecessary whitespace tab warning

2014-07-10 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This patch will remove whitespace and tabs reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 23 --- 1 file changed, 12 insertions(+), 11

[PATCH v4 4/4] staging: rtl8192u: Fixed too long line

2014-07-10 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This patch will fix too long lines warning reported by checkpatch.pl. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

[PATCH v3 1/4] staging: rtl8192u: Remove useless return statements.

2014-07-09 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This patch will remove unneeded return statements in code. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/staging/rtl8192u

[PATCH v3 4/4] staging: rtl8192u: Fixed too long lines

2014-07-09 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This patch will fix too long lines warning reported by checkpatch.pl. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[PATCH v3 2/4] staging: rtl8192u: Removed unnecessary whitespace tab warning.

2014-07-09 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This patch will remove whitespace and tabs reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 23 --- 1 file changed, 12 insertions(+), 11

[PATCH v2 0/4] Fix checkpatch reported problem in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com I have come up with seperate patch as per Dan comment. sanjeev sharma (4): staging: rtl8192u: Remove useless return statement in r819xU_phy.c staging: rtl8192u: Removed unnecessary whitespace tab warning in r819xU_phy.c staging: rtl8192u

[PATCH v2 3/4] staging: rtl8192u: Fixed switch and case indentation error in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This is a patch to the r819xU_phy.c file that will fix switch and case indentation Error reported by checkpatch script. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 12 ++-- 1 file

[PATCH v2 4/4] staging: rtl8192u: Fixed too long lines in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This is a patch to the r819xU_phy.c file that will fix too long lines warning reported by checkpatch.pl . Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 10 +++--- 1 file changed, 7

[PATCH v2 1/4] staging: rtl8192u: Remove useless return statement in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This is a patch to the r819xU_phy.c file that remove unneeded return statements in code. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- Changes in v2: - Remove useless return statement. --- drivers/staging/rtl8192u/r819xU_phy.c | 13

[PATCH v2 2/4] staging: rtl8192u: Removed unnecessary whitespace tab warning in r819xU_phy.c

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma sanjeev_sha...@mentor.com This is a patch to the r819xU_phy.c file that remove unnecessary whitespace and tabs reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 23

[PATCH] staging: rtl8192u: fix checkpatch error/warning in r819xU_phy.c

2014-07-07 Thread sanjeev sharma
From: sanjeevs1 sanjeev_sha...@mentor.com This is a patch to the r819xU_phy.c file that fixes up all the Error/Warning found by the checkpatch.pl tool Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8192u/r819xU_phy.c | 76 +-- 1