[PATCH] drivers: staging: ccree: use __func__ to get function name in error messages.

2017-07-17 Thread Dhananjay Balan
fixes checkpatch warning. Signed-off-by: Dhananjay Balan <m...@dbalan.in> --- drivers/staging/ccree/ssi_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c index d7b9a636d907..e0faca0a30a6

[PATCH] drivers: staging: sm750: Hold lock irrespective of fb numbers.

2017-06-29 Thread Dhananjay Balan
Start holding the lock for all cases irrespective of number of fb, there could be a deadlock since this number could change in the lifetime of this lock Signed-off-by: Dhananjay Balan <m...@dbalan.in> --- drivers/staging/sm750fb/sm750.c | 26 +- 1 file chang

Re: [PATCH] staging: sm750fb: move common locking code to a macro

2017-06-21 Thread Dhananjay Balan
Tue, 2017-06-20, 23:05 +0300-യ്ക്ക, Dan Carpenter എഴുതിയിരിക്കുന്നു: > On Tue, Jun 20, 2017 at 06:50:13PM +0200, Dhananjay Balan wrote: > > The locking and unlocking code used by copy routines is common, so > > moved it to a macro. > > > > Signed-off-by: Dhan

[PATCH] staging: sm750fb: move common locking code to a macro

2017-06-20 Thread Dhananjay Balan
The locking and unlocking code used by copy routines is common, so moved it to a macro. Signed-off-by: Dhananjay Balan <m...@dbalan.in> --- drivers/staging/sm750fb/sm750.c | 81 - 1 file changed, 31 insertions(+), 50 deletions(-) diff --git a/d

[PATCH] staging: most: aim-sound style fixess

2017-04-24 Thread Dhananjay Balan
Replace hardcoded function name with __func__ Signed-off-by: Dhananjay Balan <m...@dbalan.in> --- drivers/staging/most/aim-sound/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/aim-sound/sound.c b/drivers/staging/most/aim-sound/sound.c

[PATCH] staging: olpc_dcon: style fixes

2017-04-24 Thread Dhananjay Balan
removes hardcoded function name and uses __func__ to print info. Signed-off-by: Dhananjay Balan <m...@dbalan.in> --- drivers/staging/olpc_dcon/olpc_dcon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olp

[PATCH v2] staging: fsl-mc: fix coding stye errors

2017-01-18 Thread Dhananjay Balan
Split line at boolean operator. Error was reported by checkpatch.pl as WARNING: Avoid multiple line dereference - prefer 'mc_msi_domain->host_data' Signed-off-by: Dhananjay Balan <dhanan...@cliqz.com> --- drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 4 ++-- 1 file c

[PATCH] staging: fsl-mc: fix coding stye errors

2017-01-17 Thread Dhananjay Balan
Split line at boolean operator. Error was reported by checkpatch.pl as WARNING: Avoid multiple line dereference - prefer 'mc_msi_domain->host_data' Signed-off-by: Dhananjay Balan <dhanan...@cliqz.com> --- drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 4 ++-- 1 file c