OSDN Git Service

[media] lirc_zilog: Fix unbalanced braces around if/else
authorRicardo Silva <rjpdasilva@gmail.com>
Mon, 15 May 2017 19:40:16 +0000 (16:40 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 12:13:06 +0000 (09:13 -0300)
commitda731edb5b7667d0752eeaf473896fc123b8e95f
tree9601fe6e4ef0fad486c9ad8718ff4b91251663bf
parentd44e07c752ecfed1fb131cd0c5f103e299c22ab4
[media] lirc_zilog: Fix unbalanced braces around if/else

Fix all checkpatch reported issues for:

 * CHECK: "braces {} should be used on all arms of this statement".
 * CHECK: "Unbalanced braces around else statement".

Make sure all if/else statements are balanced in terms of braces. Most
cases in code are, but a few were left unbalanced, so put them all
consistent with the recommended style.

Signed-off-by: Ricardo Silva <rjpdasilva@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/lirc/lirc_zilog.c