]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers-platform-x86-sony-laptopc-fix-scancodes-v2-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 16 Dec 2011 04:49:31 +0000 (15:49 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:00:10 +0000 (17:00 +1100)
Cc: Dan Carpenter <dan.carpenter@oracle.com>
ERROR: code indent should use tabs where possible
#34: FILE: drivers/platform/x86/sony-laptop.c:395:
+                   remap the key */$

total: 1 errors, 0 warnings, 28 lines checked

NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or
      scripts/cleanfile

./patches/drivers-platform-x86-sony-laptopc-fix-scancodes-v2.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: John Hughes <john@Calva.COM>
Cc: John Hughes <john@calva.com>
Cc: John Hughes <john@calvaedi.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Mattia Dongili <malattia@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/platform/x86/sony-laptop.c

index b8f1b4704d04b98df6f384cfd47885826cf16dcc..f5d369d379e5382d69399d067ee2065a93c2efb6 100644 (file)
@@ -391,8 +391,10 @@ static void sony_laptop_report_input_event(u8 event)
        }
 
        if (kp.dev) {
-               /* if we have a scancode we emit it so we can always
-                   remap the key */
+               /*
+                * If we have a scancode we emit it so we can always remap the
+                * key
+                */
                if (scancode != -1)
                        input_event(kp.dev, EV_MSC, MSC_SCAN, scancode);
                input_report_key(kp.dev, kp.key, 1);