From: Andrew Morton Date: Fri, 16 Dec 2011 04:49:31 +0000 (+1100) Subject: drivers-platform-x86-sony-laptopc-fix-scancodes-v2-checkpatch-fixes X-Git-Tag: next-20111221~2^2~230 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a5c9b4e87589eb3094f0cb551de0f5307b13601;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);