[PATCH 2/6] staging: pi433: pi433_if.c: fix else if/else statements coding style issues

2017-11-15 Thread Chase Metzger
Put else if/else statements on same line as if/else if statements closing curly brace to comply with the kernel coding style. Signed-off-by: Chase Metzger --- drivers/staging/pi433/pi433_if.c | 33 +++-- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a

[PATCH 6/6] staging: pi433: pi433_if.c: use tabs instead of spaces

2017-11-15 Thread Chase Metzger
Replace spaces with tabs where possible to comply with the kernel coding style. Signed-off-by: Chase Metzger --- drivers/staging/pi433/pi433_if.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index

[PATCH 0/6] staging: pi433: pi433_if.c: coding style fixes

2017-11-15 Thread Chase Metzger
Fixes some of the coding style violations to comply with the kernel coding style. Chase Metzger (6): staging: pi433: pi433_if.c: fix opening curly brace coding style issues staging: pi433: pi433_if.c: fix else if/else statements coding style issues staging: pi433: pi433_if.c: fix

[PATCH 1/6] staging: pi433: pi433_if.c: fix opening curly brace coding style issues

2017-11-15 Thread Chase Metzger
Put opening curly braces for if/else/else if statements and for/while loops on the same line as the statements or loops to comply with the kernel coding style. Signed-off-by: Chase Metzger --- drivers/staging/pi433/pi433_if.c | 110 ++- 1 file changed, 38

[PATCH 5/6] staging: pi433: pi433_if.c: fix space(s) required coding style issues

2017-11-15 Thread Chase Metzger
Put space(s) in required spots to comply with the kernel coding style. Signed-off-by: Chase Metzger --- drivers/staging/pi433/pi433_if.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index

[PATCH 3/6] staging: pi433: pi433_if.c: fix trailing statement coding style issues

2017-11-15 Thread Chase Metzger
Put trailing statement after if/else statements on new line to comply with the kernel coding style. Signed-off-by: Chase Metzger --- drivers/staging/pi433/pi433_if.c | 44 +++- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/drivers/staging

[PATCH 4/6] staging: pi433: pi433_if.c: fix space prohibited coding style issues

2017-11-15 Thread Chase Metzger
Remove unnecessary spaces before and after parenthesis' to comply with the kernel coding style. Signed-off-by: Chase Metzger --- drivers/staging/pi433/pi433_if.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/staging/

[PATCH] staging: pi433: pi433_if.c: fix if/else if and brace coding style issues

2017-11-14 Thread Chase Metzger
Fix if/else if and braces in function DIO0_irq_handler to comply with the kernel coding style. Signed-off-by: Chase Metzger --- drivers/staging/pi433/pi433_if.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging

[PATCH] staging: greybus: timesync.c: Fixed WARNING for brace issue

2016-10-12 Thread Chase Metzger
Removed a checkpatch warning for braces on single argument if and else statement. Signed-off-by: Chase Metzger --- drivers/staging/greybus/timesync.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/greybus/timesync.c b/drivers/staging/greybus

[PATCH] drivers: staging: greybus: audio_topology.c: Fixed CHECKS for brace issues

2016-10-11 Thread Chase Metzger
Added braces for else and else if statements where checkpatch complained. Signed-off-by: Chase Metzger --- drivers/staging/greybus/audio_topology.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/audio_topology.c b/drivers/staging/greybus

[PATCH] drivers: staging: greybus: audio_manager_sysfs.c: Fixed CHECK for brace issue

2016-10-11 Thread Chase Metzger
Added braces to else and else if statements where checkpatch complained. Signed-off-by: Chase Metzger --- drivers/staging/greybus/audio_manager_sysfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/audio_manager_sysfs.c b/drivers/staging

[PATCH] drivers: staging: greybus: audio_codec.c: Fixed CHECKS for brace issues

2016-10-09 Thread Chase Metzger
Added braces to else statement where checkpatch complained. Signed-off-by: Chase Metzger --- drivers/staging/greybus/audio_codec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c index 8a0744b

[PATCH] drivers: staging: greybus: Fixed CHECKS for brace issues

2016-10-07 Thread Chase Metzger
Added braces to else statements where checkpatch complained. Signed-off-by: Chase Metzger --- drivers/staging/greybus/audio_codec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c index 8a0744b

[PATCH] drivers: staging: greybus: Fixed CHECKS for brace issues

2016-10-06 Thread Chase Metzger
Added braces to else statements where checkpatch complained. Signed-off-by: Chase Metzger --- drivers/staging/greybus/audio_topology.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/audio_topology.c b/drivers/staging/greybus/audio_topology.c

[PATCH] drivers/staging/greybus: gpio.c - Fixed a checkpatch generated warning

2016-09-25 Thread Chase Metzger
Removed braces for single line if statement. Signed-off-by: Chase Metzger --- drivers/staging/greybus/gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c index ea8234a..5e06e42 100644 --- a/drivers/staging

[PATCH] staging: android: sync.c: Changed the ways nullptrs were being checked

2015-12-31 Thread Chase Metzger
Removed all checkpatch.pl CHECKs that suggested to check NULL by !obj instead of obj == NULL. Signed-off-by: Chase Metzger --- drivers/staging/android/sync.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/android/sync.c b/drivers/staging

[PATCH] usb: core: devio.c: Removed unnecessary space

2015-12-31 Thread Chase Metzger
Removed an unnecessary space between a function name and arguments. Signed-off-by: Chase Metzger --- drivers/usb/core/devio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 38ae877c..0bcd45e 100644 --- a/drivers/usb

[PATCH] staging: android: sync.c: Changed the ways nullptrs were being checked

2015-12-23 Thread Chase Metzger
Removed all checkpatch.pl CHECKs that suggested to check NULL by !obj instead of obj == NULL. Signed-off-by: Chase Metzger --- drivers/staging/android/sync.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/android/sync.c b/drivers/staging