[PATCH] staging: lustre: fix comment style

2016-01-23 Thread Sushuruth Sadagopan
Fix style of several comments. Signed-off-by: Sushuruth Sadagopan --- drivers/staging/lustre/lnet/lnet/config.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/config.c b/drivers/staging/lustre/lnet/lnet/config.c index 284

[PATCH] Staging: iio: adc: fix indent on break statement

2016-01-23 Thread Colin King
From: Colin Ian King Fix indent warning when building with gcc 6: drivers/staging/iio/adc/ad7192.c:239:4: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation] Signed-off-by: Colin Ian King --- drivers/staging/iio/adc/ad7192.c | 2 +- 1 file changed, 1 inserti

[PATCH] Staging:lustre:lustre:llite:Remove explicit NULL comparision

2016-01-23 Thread Bhumika Goyal
Replaced explicit NULL comparision with its simplier form. Found using coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/llite/dcache.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/driver

[PATCH] Revert "Staging: panel: usleep_range is preferred over udelay"

2016-01-23 Thread Sudip Mukherjee
This reverts commit ebd43516d3879f882a403836bba8bc5791f26a28. We should not be sleeping inside spin_lock. Fixes: ebd43516d387 ("Staging: panel: usleep_range is preferred over udelay") Cc: Sirnam Swetha Signed-off-by: Sudip Mukherjee --- drivers/staging/panel/panel.c | 34 +++---