aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorChris Bagwell <chris@cnpbagwell.com>2011-10-10 11:51:52 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-10-10 11:55:30 -0400
commit3d11ae8190c1b273d655b4d8d82be36754587910 (patch)
tree81ca951328624903c040068386b7725af8c9444d /drivers/input/tablet
parentf80aee7fd095d9014a92a250c688ff5dbc0a6649 (diff)
Input: wacom - remove unneeded touch pressure initialization
These were left in during removal of touch pressure reports but not needed now. Signed-off-by: Chris Bagwell <chris@cnpbagwell.com> Reviewed-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r--drivers/input/tablet/wacom_wac.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index c1c2f7b28d89..f4206b5236c8 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -1029,8 +1029,6 @@ void wacom_setup_device_quirks(struct wacom_features *features)
1029 features->y_max <<= 5; 1029 features->y_max <<= 5;
1030 features->x_fuzz <<= 5; 1030 features->x_fuzz <<= 5;
1031 features->y_fuzz <<= 5; 1031 features->y_fuzz <<= 5;
1032 features->pressure_max = 256;
1033 features->pressure_fuzz = 16;
1034 features->quirks |= WACOM_QUIRK_BBTOUCH_LOWRES; 1032 features->quirks |= WACOM_QUIRK_BBTOUCH_LOWRES;
1035 } 1033 }
1036} 1034}
@@ -1219,9 +1217,6 @@ void wacom_setup_input_capabilities(struct input_dev *input_dev,
1219 input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 1217 input_set_abs_params(input_dev, ABS_MT_POSITION_Y,
1220 0, features->y_max, 1218 0, features->y_max,
1221 features->y_fuzz, 0); 1219 features->y_fuzz, 0);
1222 input_set_abs_params(input_dev, ABS_MT_PRESSURE,
1223 0, features->pressure_max,
1224 features->pressure_fuzz, 0);
1225 } else if (features->device_type == BTN_TOOL_PEN) { 1220 } else if (features->device_type == BTN_TOOL_PEN) {
1226 __set_bit(BTN_TOOL_RUBBER, input_dev->keybit); 1221 __set_bit(BTN_TOOL_RUBBER, input_dev->keybit);
1227 __set_bit(BTN_TOOL_PEN, input_dev->keybit); 1222 __set_bit(BTN_TOOL_PEN, input_dev->keybit);