[PATCH] pwm: tiehrpwm: fix disabled state of pwm when inverted

2016-10-03 Thread Clifton Barnes
The disable function forces the output to low regardless of whether the PWM is inverted. Fix this by checking the inverted status of the PWM and force the output to the proper state when disabled. Signed-off-by: Clifton Barnes --- drivers/pwm/pwm-tiehrpwm.c |7 --- 1 file changed, 4

[PATCH] staging: iio: accel: sca3000: remove extra space

2016-08-22 Thread Clifton Barnes
fix checkpatch.pl warning about 'Statements should start on a tabstop' Signed-off-by: Clifton Barnes --- drivers/staging/iio/accel/sca3000_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging

[PATCH] Input: tc3589x-keypad - remove stray ')'

2016-05-22 Thread Clifton Barnes
The end ')' needs to be removed if the macro is ever used or there would be a compiler error as it does not have a matching '('. Signed-off-by: Clifton Barnes --- drivers/input/keyboard/tc3589x-keypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

[PATCH] Input: rotary-encoder: fix bare use of 'unsigned'

2016-05-07 Thread Clifton Barnes
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of 'unsigned'' Signed-off-by: Clifton Barnes --- drivers/input/misc/rotary_encoder.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/input/misc/rotary_e

[PATCH 2/2] staging: slicoss: fix missing blank line

2016-04-05 Thread Clifton Barnes
fix checkpatch.pl warning about 'Missing a blank line after declarations' Signed-off-by: Clifton Barnes --- drivers/staging/slicoss/slicoss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index cb1ad76..ac12

[PATCH 1/2] staging: slicoss: fix bare use of 'unsigned'

2016-04-05 Thread Clifton Barnes
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of 'unsigned'' Signed-off-by: Clifton Barnes --- drivers/staging/slicoss/slicoss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/s

[PATCH] staging: vme: fix bare use of 'unsigned'

2016-03-31 Thread Clifton Barnes
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of 'unsigned'' Signed-off-by: Clifton Barnes --- drivers/staging/vme/devices/vme_pio2_gpio.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vme/devices/vme_

[PATCH v2] staging: xgifb: fix block comments

2016-03-29 Thread Clifton Barnes
fix checkpatch.pl warning about 'Block comments use a trailing */ on a separate line' and 'Block comments use * on subsequent lines' Signed-off-by: Clifton Barnes --- v2: moved the comments in XGI_CRT1Table to above the block of data drivers/staging/xgifb/vb_init.c

[PATCH 1/5] staging: xgifb: fix block comments

2016-03-27 Thread Clifton Barnes
fix checkpatch.pl warning about 'Block comments use a trailing */ on a separate line' and 'Block comments use * on subsequent lines' Signed-off-by: Clifton Barnes --- drivers/staging/xgifb/vb_init.c| 13 ++-- drivers/staging/xgifb/vb_setmode.c | 3 +- drivers/stag

[PATCH 5/5] staging: xgifb: fix bare use of 'unsigned'

2016-03-27 Thread Clifton Barnes
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of 'unsigned'' Signed-off-by: Clifton Barnes --- drivers/staging/xgifb/XGI_main_26.c | 5 +++-- drivers/staging/xgifb/vb_util.h | 8 +--- 2 files changed, 8 insertions(+), 5 deletions(-)

[PATCH 4/5] staging: xgifb: fix comparison order

2016-03-27 Thread Clifton Barnes
fix checkpatch.pl warning about 'Comparisons should place the constant on the right side of the test' Signed-off-by: Clifton Barnes --- drivers/staging/xgifb/vb_setmode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c

[PATCH 3/5] staging: xgifb: fix code indent

2016-03-27 Thread Clifton Barnes
fix checkpatch.pl warning about 'suspect code indent for conditional statements' Signed-off-by: Clifton Barnes --- drivers/staging/xgifb/vb_setmode.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/sta

[PATCH 2/5] staging: xgifb: fix 'line over 80 characters'

2016-03-27 Thread Clifton Barnes
fix checkpatch.pl warning about 'line over 80 characters' Signed-off-by: Clifton Barnes --- drivers/staging/xgifb/vb_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 1ef2bfb..062ece2 10