[PATCH] staging:ktap:ktap.c: fix coding style

Gokulnath A gokul.linux at gmail.com
Sun Oct 27 19:17:53 UTC 2013


fixed the errors and warnings found by
checkpatch.pl script.

Signed-off-by: Gokulnath A <Gokulnath.Avanashilingam at in.bosch.com>
---
 drivers/staging/ktap/interpreter/ktap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ktap/interpreter/ktap.c
b/drivers/staging/ktap/interpreter/ktap.c
index 18d8fc8..b84ebca 100644
--- a/drivers/staging/ktap/interpreter/ktap.c
+++ b/drivers/staging/ktap/interpreter/ktap.c
@@ -128,7 +128,7 @@ static int ktap_main(struct file *file, ktap_parm *parm)
     kp_final_exit(ks);

  out:
-    atomic_dec(&kp_is_running);
+    atomic_dec(&kp_is_running);
     return ret;
 }

@@ -157,7 +157,7 @@ static long ktap_ioctl(struct file *file, unsigned
int cmd, unsigned long arg)
         return -EINVAL;
     };

-        return 0;
+    return 0;
 }

 static const struct file_operations ktap_fops = {
--
1.8.1.2


More information about the devel mailing list