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: 1951301 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id CC70BDF25A for ; Wed, 9 Jan 2013 09:05:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757437Ab3AIJFC (ORCPT ); Wed, 9 Jan 2013 04:05:02 -0500 Received: from mail-pb0-f52.google.com ([209.85.160.52]:40036 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757414Ab3AIJE6 (ORCPT ); Wed, 9 Jan 2013 04:04:58 -0500 Received: by mail-pb0-f52.google.com with SMTP id ro2so814537pbb.11 for ; Wed, 09 Jan 2013 01:04:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=V9v0XfWYjLUjlN/gvX8AMHnSzl1PTd40STYaEBAlu58=; b=SqNgfw2hsSGJAen15duewvKPSVqiDN+qsqW43u1Hpm/HcV8VOBpe4/tx5p84L3t/gB zj0GB24dY0XCd3FF7Oc9fxVm3GPtwMzayv2tcBO08nn6+ZvvamopeBPC9t/cD+z2+HTm ZsvtkS+o2ZWVo/gBL30BlsuygQzNKBnMRzzuEyQ10FJSluP4nmxYp3i99r7Dt22Mp2ku W7lLsf3nn0CPlzcx9lOJfZ+qZ6ykC2e12zi9Xg6Oujx14lmI6Vk5L7cRqRald5o30cp+ IweOg5c0PvEhP25UFDWYpeNTyaMwMwdPYU6lxBbDQ/vdVt4YC870Iclo0neh4qFJ8F9y bdaw== 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: ALoCoQmpDQ7nIuUP1EkINe1OQo0Y2Z0D3yJIEjG910Yw13zm9zionPrk4ElSeTEpGJ4hgSo7kfoD Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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; }