From patchwork Thu Nov 22 06:34:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Hutterer X-Patchwork-Id: 10693559 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 65CD55A4 for ; Thu, 22 Nov 2018 06:35:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58E442C57E for ; Thu, 22 Nov 2018 06:35:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D01A2C59A; Thu, 22 Nov 2018 06:35:33 +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 F040A2C57E for ; Thu, 22 Nov 2018 06:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404763AbeKVRNG (ORCPT ); Thu, 22 Nov 2018 12:13:06 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33351 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732955AbeKVRNE (ORCPT ); Thu, 22 Nov 2018 12:13:04 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6467921F6E; Thu, 22 Nov 2018 01:35:05 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 22 Nov 2018 01:35:05 -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=rqGA+sHkbk+eb jBuT8Yp6ziYbTakIen1wcALDPQO6Og=; b=UAAVQz6mWmvqXMHj66ec9mC30oFoB VuQ0VCSZgDdAg5L1kVR7EV/sV2HPkNbQdQoeUOAxgXjD0ChBOz5FJmpPiwA+c96p ykn37YmdHMBX/1BQuJKktD/TGRm3aQqngNZsVjLs3auliVziZHemebKEtCEcCsu5 MzR22z8jWLK2hMUeGXoCGnMiVrUY5AjPhSqsLHkAJUa/Fn3kP9CaGsIhdEKZ7wzw 9gYZj4J7yQeTfFNPJ0Ja0+kA9mzrybQGLmekIEUwRJQCWmc3XFR0/gxOP503HGMm Sha8KbO4sumeD3USZKiuXP5cOwNRK6WxYVke2T8srMVdFAGM9Pv+4Nwdw== 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=rqGA+sHkbk+ebjBuT8Yp6ziYbTakIen1wcALDPQO6Og=; b=yB42fFZ4 uzHh1SSMMwPXdA8AItWDjonqHA9UpVLJXg/0JxW7/zGvB+YODI50tpvMHggS8gQn 0UJnEev1DX3hgnd9rgvHjImhkXoXdkxLXEl3N/HXSY8Aj6bhTi/U7IwE5kIttSbY xMcyl+eNGbNJBXIEZGNxLDCQJ3p2N0JngFF76uPE2NRvrAD4yc/u7lqX15eGHN7H PP1oDL8ZmGMu6PMrA5vOZN+dgP8iOI98xNY3DxOCR+WAH20Lk2Ti2x1jhfaGlD9u xnFFKH30tIqz5hTuhvc73X5/WRER4dl9mVbDNvfKNhC4tw18G80xXGQppjR65NSE RTCDm4XTSXS3QA== 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 832CA102EE; Thu, 22 Nov 2018 01:35:02 -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 5/8] HID: logitech-hidpp: fix typo, hiddpp to hidpp Date: Thu, 22 Nov 2018 16:34:06 +1000 Message-Id: <20181122063409.15816-6-peter.hutterer@who-t.net> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181122063409.15816-1-peter.hutterer@who-t.net> References: <20181122063409.15816-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 --- 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,