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 wrote: > On Mon, Jan 5, 2015 at 1:21 AM, sanjeev sharma > wrote: >> On Mon, Jan 5, 2015 at 11:41 AM, devendra.aaru >> wrote: >>> On Mon, Jan 5, 2015 at 1:04 AM, sanjeev sharma >>> wrote: >>>>

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 wrote: > On Mon, Jan 5, 2015 at 1:04 AM, sanjeev sharma > wrote: >> On Fri, Jan 2, 2015 at 11:47 PM, Devendra Naga >> wrote: >>> the function cp_tm1217_mask_interrupt can return failure. >>> added the check and

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 wrote: > the function cp_tm1217_mask_interrupt can return failure. > added the check and the failure path. > > Cc: Ramesh Agarwal > Signed-off-by: Devendra Naga > --- > > build tested only on x86_64. config is allmodconfig. > > drivers/staging/cpt

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 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: ‘val’ may be used >

[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 --- drivers/staging/rtl8723au/core/rtw_cmd.c | 79 +++- 1 file changed, 38 insertions(+), 41 deletions(-) diff

[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 --- drivers/staging/rtl8723au/core/rtw_cmd.c | 42 1 file changed, 21 insertions(+), 21

[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 --- drivers/staging/rtl8723au/core/rtw_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/r

[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 --- drivers/staging/rtl8723au/core/rtw_cmd.c | 123 +++ 1 file changed, 60 insertions(+), 63

[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 --- drivers/staging/rtl8723au/core/rtw_cmd.c | 83 +++

[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 --- Changes in v2: - Shorten variable name by taking temporary structure drivers/staging/rtl8723au/core/rtw_cmd.c | 126 +++ 1 file changed, 62 insertions

[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 --- drivers/staging/rtl8723au/core/rtw_cmd.c | 83 +++- 1 file changed, 40 insertions(+), 43 deletions(-) diff --git a/drivers/staging/rtl8723au/core

[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 --- Changes in v2: - removed stuff which is not being used ad per greg comment drivers/staging/rtl8192u/r8190_rtl8256.c | 52 +--- 1 file changed, 21

[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 --- drivers/staging/rtl8192u/r8190_rtl8256.c | 59 +--- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/drivers/staging/rtl8192u/r8190_rtl8256

[PATCH] iio: remove .owner field for driver using module_platform_driver

2014-08-20 Thread Sanjeev Sharma
This patch removes the .owner field for drivers which use the platform_driver_register api because this is overriden in _platform_driver_register. Signed-off-by: Sanjeev Sharma --- drivers/iio/accel/hid-sensor-accel-3d.c | 1 - drivers/iio/adc/exynos_adc.c | 1 - drivers

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

2014-08-19 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 --- drivers/staging/iio/adc/ad7192.c| 3 +- drivers/staging/iio/adc/ad7192.h| 47 - drivers/staging/iio/adc/ad7280a.c | 3

[PATCH v2] 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 --- drivers/staging/rtl8192u/r819xU_phyreg.h | 189 --- 1 file changed, 98 insertions(+), 91 deletions(-) diff --git a/drivers/staging/rtl8192u

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

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

[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 --- Changes in v2: - Added space character in the signed-off-by field. drivers/staging/rtl8192u/r8190_rtl8256.c | 169 +++ 1

[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 --- Changes in v2: - Added signed-off field. drivers/staging/rtl8192u/r8180_93cx6.h | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git

[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 --- Changes in v2: - Added signed-off field. drivers/staging/rtl8192u/r8180_93cx6.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging

[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

Involvement in Linux Project needed

2014-07-29 Thread sanjeev sharma
Hello All, I have recently joined Linux driver project and wanted to cointribute into it and Please let me know the process how i can start working and contributing in Linux existing driver project. Regards Sanjeev Sharma ___ devel mailing list de

[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 Sharma --- drivers/staging/rtl8192u/r8190_rtl8256.c | 169 +++ 1 file changed, 79 insertions(+), 90 deletions(-) diff --git a/dri

[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 b/dr

[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 b/drivers/staging/rtl8192u/r8180_93

[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 fb8a7a

[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 --- 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/sw_sync.c index a76db3f

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

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

[PATCH] staging: android: Fixed missing blank line

2014-07-17 Thread sanjeev sharma
From: root This patch will add an blank line after declaration reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma --- 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/sw_sync.c

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

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

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

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

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

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

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

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

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

2014-07-10 Thread sanjeev sharma
From: sanjeev sharma 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 indentation error

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

2014-07-09 Thread sanjeev sharma
From: sanjeev sharma This patch will remove whitespace and tabs reported by checkpatch.pl script. Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8192u/r819xU_phy.c | 23 --- 1 file changed, 12 insertions(+), 11 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 This patch will fix too long lines warning reported by checkpatch.pl. Signed-off-by: Sanjeev Sharma --- drivers/staging/rtl8192u/r819xU_phy.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers

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

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

[PATCH v3 0/4] line wrapping of changelog

2014-07-09 Thread sanjeev sharma
line wrap the changelog as per Dan sanjeev sharma (4): staging: rtl8192u: Remove useless return statements. staging: rtl8192u: Removed unnecessary whitespace & tab warning. staging: rtl8192u: Fixed switch and case indentation error. staging: rtl8192u: Fixed too long lines dri

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

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

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

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma 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 --- drivers/staging/rtl8192u/r819xU_phy.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions

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

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma 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 --- drivers/staging/rtl8192u/r819xU_phy.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers

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

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

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

2014-07-08 Thread sanjeev sharma
From: sanjeev sharma 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: Fixed switch and

[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 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 --- drivers/staging/rtl8192u/r819xU_phy.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

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

2014-07-07 Thread sanjeev sharma
From: sanjeevs1 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 --- drivers/staging/rtl8192u/r819xU_phy.c | 76 +-- 1 file changed, 36 insertions(+), 40 deletions