From mboxrd@z Thu Jan 1 00:00:00 1970 From: chris@cnpbagwell.com Subject: [PATCH 1/3] Input: wacom - remove unneeded touch pressure init Date: Wed, 14 Sep 2011 20:36:26 -0500 Message-ID: <1316050588-13473-2-git-send-email-chris@cnpbagwell.com> References: <1316050588-13473-1-git-send-email-chris@cnpbagwell.com> Return-path: Received: from mail-yw0-f46.google.com ([209.85.213.46]:46540 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752933Ab1IOBgj (ORCPT ); Wed, 14 Sep 2011 21:36:39 -0400 Received: by ywb5 with SMTP id 5so1875586ywb.19 for ; Wed, 14 Sep 2011 18:36:39 -0700 (PDT) In-Reply-To: <1316050588-13473-1-git-send-email-chris@cnpbagwell.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: linux-input@vger.kernel.org, pinglinux@gmail.com Cc: Chris Bagwell From: Chris Bagwell These were left in during removal of touch pressure reports but not needed now. Signed-off-by: Chris Bagwell Reviewed-by: Ping Cheng --- drivers/input/tablet/wacom_wac.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index 74fa7dd..1503425 100644 --- a/drivers/input/tablet/wacom_wac.c +++ b/drivers/input/tablet/wacom_wac.c @@ -1030,8 +1030,6 @@ void wacom_setup_device_quirks(struct wacom_features *features) features->y_max <<= 5; features->x_fuzz <<= 5; features->y_fuzz <<= 5; - features->pressure_max = 256; - features->pressure_fuzz = 16; features->quirks |= WACOM_QUIRK_BBTOUCH_LOWRES; } } @@ -1221,9 +1219,6 @@ void wacom_setup_input_capabilities(struct input_dev *input_dev, input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 0, features->y_max, features->y_fuzz, 0); - input_set_abs_params(input_dev, ABS_MT_PRESSURE, - 0, features->pressure_max, - features->pressure_fuzz, 0); } else if (features->device_type == BTN_TOOL_PEN) { __set_bit(BTN_TOOL_RUBBER, input_dev->keybit); __set_bit(BTN_TOOL_PEN, input_dev->keybit); -- 1.7.6