From 80bf6a171c1fc19cb584da692fd6a7d7d490837a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 8 Dec 2011 15:32:12 +1100 Subject: [PATCH] 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 --- drivers/platform/x86/sony-laptop.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 2.39.5