From patchwork Wed Jan 9 08:56:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13941 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 8690423E2E for ; Wed, 9 Jan 2013 09:05:02 +0000 (UTC) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by fiordland.canonical.com (Postfix) with ESMTP id 1A135A18ED0 for ; Wed, 9 Jan 2013 09:05:02 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id m8so1300087vcd.8 for ; Wed, 09 Jan 2013 01:05:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=V9v0XfWYjLUjlN/gvX8AMHnSzl1PTd40STYaEBAlu58=; b=BsEOiErB0q49vu63fN33ArOFh6vWC5VRKsl29RsO19IX8qgQ+7mRpEnqjk1SaMg5KF 6XxhApbZXPc3OQ5Z2ibRlbGb+ml9vd6adEgpCE73BS48xw75ur0wStN2VQQcbFaN35eJ srjFn68E4jWibCK3qID+usROk836M79ZM0tL1p0xEyDLv7rVh65PrBqyTVXgKoCN4q+e wipxySG3JndtfobgCu4kVNMoibDcJR06GW6WgsbEz5K9ZpNSUxv8/1u71rD17L1pYkS1 dSgyHYaesB4XX4q913KWnSOBFpjWjeLZ/Nyt5xAkCFs5fx2PjpqjJtpwyLde4SKymBAr Vt5A== X-Received: by 10.52.18.147 with SMTP id w19mr77676384vdd.94.1357722301576; Wed, 09 Jan 2013 01:05:01 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp3904veb; Wed, 9 Jan 2013 01:05:00 -0800 (PST) X-Received: by 10.68.136.73 with SMTP id py9mr33120188pbb.43.1357722299027; Wed, 09 Jan 2013 01:04:59 -0800 (PST) Received: from mail-da0-f52.google.com (mail-da0-f52.google.com [209.85.210.52]) by mx.google.com with ESMTPS id yl9si65398524pbc.332.2013.01.09.01.04.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Jan 2013 01:04:59 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.52 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.52; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.52 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f52.google.com with SMTP id f10so642936dak.11 for ; Wed, 09 Jan 2013 01:04:58 -0800 (PST) X-Received: by 10.68.194.6 with SMTP id hs6mr207529019pbc.77.1357722298231; Wed, 09 Jan 2013 01:04:58 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id vo6sm1534478pbc.8.2013.01.09.01.04.55 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Jan 2013 01:04:57 -0800 (PST) From: Sachin Kamat To: linux-input@vger.kernel.org Cc: jkosina@suse.cz, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] HID: hid-samsung: Fix checkpatch errors Date: Wed, 9 Jan 2013 14:26:43 +0530 Message-Id: <1357721803-31363-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkUz9mRweE6nFTISrY3jadSlapTKZFBDhCoTFxNG11mosixm1S6II1/rqoOvfcclF+uRzqT Fixes the following type of checkpatch errors: ERROR: trailing statements should be on next line Signed-off-by: Sachin Kamat --- drivers/hid/hid-samsung.c | 44 +++++++++++++++++++++++++++++++++----------- 1 files changed, 33 insertions(+), 11 deletions(-) diff --git a/drivers/hid/hid-samsung.c b/drivers/hid/hid-samsung.c index 7cbb067..2d78091 100644 --- a/drivers/hid/hid-samsung.c +++ b/drivers/hid/hid-samsung.c @@ -112,17 +112,39 @@ static int samsung_kbd_mouse_input_mapping(struct hid_device *hdev, switch (usage->hid & HID_USAGE) { /* report 2 */ - case 0x183: samsung_kbd_mouse_map_key_clear(KEY_MEDIA); break; - case 0x195: samsung_kbd_mouse_map_key_clear(KEY_EMAIL); break; - case 0x196: samsung_kbd_mouse_map_key_clear(KEY_CALC); break; - case 0x197: samsung_kbd_mouse_map_key_clear(KEY_COMPUTER); break; - case 0x22b: samsung_kbd_mouse_map_key_clear(KEY_SEARCH); break; - case 0x22c: samsung_kbd_mouse_map_key_clear(KEY_WWW); break; - case 0x22d: samsung_kbd_mouse_map_key_clear(KEY_BACK); break; - case 0x22e: samsung_kbd_mouse_map_key_clear(KEY_FORWARD); break; - case 0x22f: samsung_kbd_mouse_map_key_clear(KEY_FAVORITES); break; - case 0x230: samsung_kbd_mouse_map_key_clear(KEY_REFRESH); break; - case 0x231: samsung_kbd_mouse_map_key_clear(KEY_STOP); break; + case 0x183: + samsung_kbd_mouse_map_key_clear(KEY_MEDIA); + break; + case 0x195: + samsung_kbd_mouse_map_key_clear(KEY_EMAIL); + break; + case 0x196: + samsung_kbd_mouse_map_key_clear(KEY_CALC); + break; + case 0x197: + samsung_kbd_mouse_map_key_clear(KEY_COMPUTER); + break; + case 0x22b: + samsung_kbd_mouse_map_key_clear(KEY_SEARCH); + break; + case 0x22c: + samsung_kbd_mouse_map_key_clear(KEY_WWW); + break; + case 0x22d: + samsung_kbd_mouse_map_key_clear(KEY_BACK); + break; + case 0x22e: + samsung_kbd_mouse_map_key_clear(KEY_FORWARD); + break; + case 0x22f: + samsung_kbd_mouse_map_key_clear(KEY_FAVORITES); + break; + case 0x230: + samsung_kbd_mouse_map_key_clear(KEY_REFRESH); + break; + case 0x231: + samsung_kbd_mouse_map_key_clear(KEY_STOP); + break; default: return 0; }