From: Andrew Morton Date: Thu, 8 Dec 2011 04:32:12 +0000 (+1100) Subject: drivers-platform-x86-sony-laptopc-fix-scancodes-v2-checkpatch-fixes X-Git-Tag: next-20111212~1^2~207 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80bf6a171c1fc19cb584da692fd6a7d7d490837a;p=karo-tx-linux.git drivers-platform-x86-sony-laptopc-fix-scancodes-v2-checkpatch-fixes Cc: Dan Carpenter 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 Cc: John Hughes Cc: John Hughes Cc: John Hughes Cc: Matthew Garrett Cc: Mattia Dongili Signed-off-by: Andrew Morton --- diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index b8f1b4704d04..f5d369d379e5 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -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);