Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3338996imm; Fri, 20 Jul 2018 14:53:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeTkP0+we1Pk9puLU+nsxhtuo3ZimJGOFXX8XNQ7OOPjohHOJPtlKdM42TYW9Ow09Kk/Ypy X-Received: by 2002:a65:5284:: with SMTP id y4-v6mr3405098pgp.283.1532123592157; Fri, 20 Jul 2018 14:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532123592; cv=none; d=google.com; s=arc-20160816; b=eYuZ/K4jG4Pqj55Dg6RubrYHrNtcOvgskx3L22y1PkAVlO00MdnzCzU60uRxo5ZxM5 YXSpVYeBZYiMduCk4No3nCB9okI5NzJK+A3RemB7QqSA3ZXtIiQ+fudslQcef8tgyfjQ dCAhO0FXQtf7vgfzsvkx8fps+7FryaKyvAlxLdW+iAIZdY66M7AYZUdegxjHKzKIyWR3 VSswdrr4y3rgS7YQlsb7TQlx4CqRq5ETZLagZtdZXmmdC3vnSrquDp9Qc3Q8AnlqePwp NjiFF0DLAd2pcm/EMd7bUl3vX2t1jk3iQpnWWCQq+X31+IA/93b1ReBA8eFKv/fxLr6Q NsmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=4fnZdwYgiTnszzPXAsPvekvAjKuvaRDeApRlExJIRPg=; b=MmhXnh7E2r2a6RX/N2welTYtSBnPT92HZZgusdScUbRemoWsKtV43aYHilX3sJvI3V ZZsZyc92jWodWeJVuaVK3esf4ws1IpTxNZ036GUpTkqJ0hZDYKFOaCkL4AyPGC7IVkEa W2JhuApCARP9YK1/rxVN2VK6qvpDl8u3ceuOa2o7i3ZLCscAk2wqWo9BKnqPjRUecsE7 en/JWRWHqZUMbACecYHfT/4yxSwNxunBdxbP16Jl8jDyKdrbnP93/e2CfA7i2t7lSyIR k+7GuujdgfblApUEA6assPylfGU7hFcsnn1bVtQINDnF6RWE4MNygAkAM+ABOxuRyNmT dmuQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13-v6si2572797pgk.381.2018.07.20.14.52.57; Fri, 20 Jul 2018 14:53:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729167AbeGTWmI (ORCPT + 99 others); Fri, 20 Jul 2018 18:42:08 -0400 Received: from avasout06.plus.net ([212.159.14.18]:48150 "EHLO avasout06.plus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729117AbeGTWmH (ORCPT ); Fri, 20 Jul 2018 18:42:07 -0400 Received: from hairyalien ([80.229.148.18]) by smtp with SMTP id gdJcfIgNrWLW2gdJdf5XEN; Fri, 20 Jul 2018 22:51:59 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=fJUXI6Se c=1 sm=1 tr=0 a=o7Djd4SkmPXITDn8qH+ssQ==:117 a=o7Djd4SkmPXITDn8qH+ssQ==:17 a=R9QF1RCXAYgA:10 a=V0UhwjhiAAAA:8 a=Sl30bxoMjtIrTcpY_UsA:9 a=RUDhtNSIbZfff1Rf:21 a=NgfvWVyVL48Kq1Kh:21 a=_UVLBGXn8Au_dgoMdIS7:22 Received: by hairyalien (sSMTP sendmail emulation); Fri, 20 Jul 2018 22:51:56 +0100 From: Nick Dyer To: Dmitry Torokhov Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Chris Healy , Nikita Yushchenko , Lucas Stach , Nick Dyer Subject: [PATCH v1 03/10] Input: atmel_mxt_ts - remove duplicate setup of ABS_MT_PRESSURE Date: Fri, 20 Jul 2018 22:51:15 +0100 Message-Id: <20180720215122.23558-3-nick@shmanahar.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180720215122.23558-1-nick@shmanahar.org> References: <20180720215122.23558-1-nick@shmanahar.org> X-CMAE-Envelope: MS4wfJ1MMTKwftfEovGxbTU2aL2FsvGxwuxhLGvx9JiA0bMQtOa9Zlpo4xrypsmAc4oM/fnedNLtyRSknfy9mK6i0MUZUpZYM3VJdpdlBo2wN1UlzFUTZxC9 MMWfejzdnA9kPzINfkfdmJE5UIyILKpkHd4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nick Dyer Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 9555947a2d46..dcafb812ee7e 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -2055,12 +2055,6 @@ static int mxt_initialize_input_device(struct mxt_data *data) 0, 255, 0, 0); } - if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 && - data->t100_aux_ampl) { - input_set_abs_params(input_dev, ABS_MT_PRESSURE, - 0, 255, 0, 0); - } - if (data->multitouch == MXT_TOUCH_MULTITOUCHSCREEN_T100 && data->t100_aux_vect) { input_set_abs_params(input_dev, ABS_MT_ORIENTATION, -- 2.17.1