From patchwork Wed Dec 5 00:42:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Hutterer X-Patchwork-Id: 10712849 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 362C613BF for ; Wed, 5 Dec 2018 00:43:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 252162CA49 for ; Wed, 5 Dec 2018 00:43:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19A892CA62; Wed, 5 Dec 2018 00:43:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B07242CA49 for ; Wed, 5 Dec 2018 00:43:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726537AbeLEAnJ (ORCPT ); Tue, 4 Dec 2018 19:43:09 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:45061 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726294AbeLEAnI (ORCPT ); Tue, 4 Dec 2018 19:43:08 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id BDD52F55; Tue, 4 Dec 2018 19:43:06 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 04 Dec 2018 19:43:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=who-t.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=9mpnncxGYKGhn b4VIU3POQ0P/Q4AaNNvBQuHvU6YplA=; b=GZ7sdT0jEcg0fm7V3xGxWbpRpFoj7 vJtXYOoECWACbJCSQVleIDHUCev7eSMfKee+ad1yK6pib+tBGJQ5ZxPVC+LU5Olj x6mwxZ7fNnvXpybnjUbJXuQtBn4vm/cTcryQpAETGaU8NdVOUBc/04mQHhqhOLhM TKFJBCGIdTqsHb8wLkxYUHF5JxjQgzu5tcgspZWc4vmmuysbBsbaNHDYN8jobe9G OnTJNXC1xCZNY3uBzwsxv7wGAF05qFO1Bbdj6E17whZD9nv8eMAlqdTjAZndQ3tn R3VWAXB83SMZPbLlLqYBWFNnJtD66QKm5lGhSY5Klzu4BMZaX8Asrj3KQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=9mpnncxGYKGhnb4VIU3POQ0P/Q4AaNNvBQuHvU6YplA=; b=HxOnTWEU Ddu/baJvN1v+8HhG+WvK1XDCNrPafanr10opxYSq8WuWhyR3Gs2UPho5cot2pY3F +jTBJqRrJEKyjcs846isr8ORORvLjlOVFz/Ysfz4kuPTJ6yzYRbyrxQf3A4PDM6f g0exBw6oh1cyNivsaqxZt6f7qN30SHE4p59rwICCQzJcXb8lIK4cMY2jLwlG3Nqg eP2lMckJqf5aDgcIpS5UC05C9BIkNcgyrGsD/Yv//dCvla3mp6w2mgmwXjrG0gFY +YWhT8F9hU0lRxDz8Kb4ZYB6KVVVrKzJHjy1TXHhNpPE0e/jAFLM57+kptN+3OYx 7V2K4Dfm3K/Tlw== X-ME-Sender: X-ME-Proxy: Received: from jelly.home.gateway (167-179-166-29.a7b3a6.bne.nbn.aussiebb.net [167.179.166.29]) by mail.messagingengine.com (Postfix) with ESMTPA id 0FA38E450E; Tue, 4 Dec 2018 19:43:01 -0500 (EST) From: Peter Hutterer To: linux-input@vger.kernel.org Cc: Dmitry Torokhov , Jiri Kosina , Harry Cutts , torvalds@linux-foundation.org, Nestor Lopez Casado , linux-kernel@vger.kernel.org, Benjamin Tissoires Subject: [PATCH v3 5/8] HID: logitech-hidpp: fix typo, hiddpp to hidpp Date: Wed, 5 Dec 2018 10:42:25 +1000 Message-Id: <20181205004228.10714-6-peter.hutterer@who-t.net> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181205004228.10714-1-peter.hutterer@who-t.net> References: <20181205004228.10714-1-peter.hutterer@who-t.net> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Peter Hutterer --- Unchanged since v1 drivers/hid/hid-logitech-hidpp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c index 19cc980eebce..22b37a3844d1 100644 --- a/drivers/hid/hid-logitech-hidpp.c +++ b/drivers/hid/hid-logitech-hidpp.c @@ -1465,7 +1465,7 @@ struct hidpp_ff_work_data { u8 size; }; -static const signed short hiddpp_ff_effects[] = { +static const signed short hidpp_ff_effects[] = { FF_CONSTANT, FF_PERIODIC, FF_SINE, @@ -1480,7 +1480,7 @@ static const signed short hiddpp_ff_effects[] = { -1 }; -static const signed short hiddpp_ff_effects_v2[] = { +static const signed short hidpp_ff_effects_v2[] = { FF_RAMP, FF_FRICTION, FF_INERTIA, @@ -1873,11 +1873,11 @@ static int hidpp_ff_init(struct hidpp_device *hidpp, u8 feature_index) version = bcdDevice & 255; /* Set supported force feedback capabilities */ - for (j = 0; hiddpp_ff_effects[j] >= 0; j++) - set_bit(hiddpp_ff_effects[j], dev->ffbit); + for (j = 0; hidpp_ff_effects[j] >= 0; j++) + set_bit(hidpp_ff_effects[j], dev->ffbit); if (version > 1) - for (j = 0; hiddpp_ff_effects_v2[j] >= 0; j++) - set_bit(hiddpp_ff_effects_v2[j], dev->ffbit); + for (j = 0; hidpp_ff_effects_v2[j] >= 0; j++) + set_bit(hidpp_ff_effects_v2[j], dev->ffbit); /* Read number of slots available in device */ error = hidpp_send_fap_command_sync(hidpp, feature_index,