[PATCH 1/3] [media] staging: lirc: remove unnecessary braces

2015-09-04 Thread Maciek Borzecki
Remove unnecessary braces where appropriate. This removes the following checkpatch warnings: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Maciek Borzecki --- drivers/staging/media/lirc/lirc_imon.c | 8 1 file changed, 4 insertions(+), 4 deletions

[PATCH 0/3] [media] staging: lirc: mostly checkpatch cleanups

2015-09-04 Thread Maciek Borzecki
media tree. The first patch fixes minor warning with unnecessary brakes around single statement block. The second fixes non-tab indentation. The third patch does away with a custom dprintk() in favor of dev_dbg and pr_debug(). Maciek Borzecki (3): [media] staging: lirc: remove unnecessary b

[PATCH 2/3] [media] staging: lirc: fix indentation

2015-09-04 Thread Maciek Borzecki
Fix non-tab indentation. This resolves the following checkpatch problem: ERROR: code indent should use tabs where possible Signed-off-by: Maciek Borzecki --- drivers/staging/media/lirc/lirc_sasem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media

[PATCH 3/3] [media] staging: lirc: lirc_serial: use dynamic debugs

2015-09-04 Thread Maciek Borzecki
... + printk(KERN_DEBUG LIRC_DRIVER_NAME ": " \ Signed-off-by: Maciek Borzecki --- drivers/staging/media/lirc/lirc_serial.c | 32 ++-- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/drivers/staging/media/lirc/lirc_serial.c b/drivers/sta