Commit 688ea364 authored by Hans de Goede's avatar Hans de Goede Committed by Dmitry Torokhov

Input: alps - rename alps_set_abs_params_mt to alps_set_abs_params_semi_mt

Rename alps_set_abs_params_mt to alps_set_abs_params_semi_mt,
to make it clear that it is only (to be) used for semi-mt devices.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 1662c033
...@@ -159,7 +159,7 @@ static const struct alps_protocol_info alps_v8_protocol_data = { ...@@ -159,7 +159,7 @@ static const struct alps_protocol_info alps_v8_protocol_data = {
static void alps_set_abs_params_st(struct alps_data *priv, static void alps_set_abs_params_st(struct alps_data *priv,
struct input_dev *dev1); struct input_dev *dev1);
static void alps_set_abs_params_mt(struct alps_data *priv, static void alps_set_abs_params_semi_mt(struct alps_data *priv,
struct input_dev *dev1); struct input_dev *dev1);
static void alps_set_abs_params_v7(struct alps_data *priv, static void alps_set_abs_params_v7(struct alps_data *priv,
struct input_dev *dev1); struct input_dev *dev1);
...@@ -2606,7 +2606,7 @@ static int alps_set_protocol(struct psmouse *psmouse, ...@@ -2606,7 +2606,7 @@ static int alps_set_protocol(struct psmouse *psmouse,
case ALPS_PROTO_V3: case ALPS_PROTO_V3:
priv->hw_init = alps_hw_init_v3; priv->hw_init = alps_hw_init_v3;
priv->process_packet = alps_process_packet_v3; priv->process_packet = alps_process_packet_v3;
priv->set_abs_params = alps_set_abs_params_mt; priv->set_abs_params = alps_set_abs_params_semi_mt;
priv->decode_fields = alps_decode_pinnacle; priv->decode_fields = alps_decode_pinnacle;
priv->nibble_commands = alps_v3_nibble_commands; priv->nibble_commands = alps_v3_nibble_commands;
priv->addr_command = PSMOUSE_CMD_RESET_WRAP; priv->addr_command = PSMOUSE_CMD_RESET_WRAP;
...@@ -2615,7 +2615,7 @@ static int alps_set_protocol(struct psmouse *psmouse, ...@@ -2615,7 +2615,7 @@ static int alps_set_protocol(struct psmouse *psmouse,
case ALPS_PROTO_V3_RUSHMORE: case ALPS_PROTO_V3_RUSHMORE:
priv->hw_init = alps_hw_init_rushmore_v3; priv->hw_init = alps_hw_init_rushmore_v3;
priv->process_packet = alps_process_packet_v3; priv->process_packet = alps_process_packet_v3;
priv->set_abs_params = alps_set_abs_params_mt; priv->set_abs_params = alps_set_abs_params_semi_mt;
priv->decode_fields = alps_decode_rushmore; priv->decode_fields = alps_decode_rushmore;
priv->nibble_commands = alps_v3_nibble_commands; priv->nibble_commands = alps_v3_nibble_commands;
priv->addr_command = PSMOUSE_CMD_RESET_WRAP; priv->addr_command = PSMOUSE_CMD_RESET_WRAP;
...@@ -2631,7 +2631,7 @@ static int alps_set_protocol(struct psmouse *psmouse, ...@@ -2631,7 +2631,7 @@ static int alps_set_protocol(struct psmouse *psmouse,
case ALPS_PROTO_V4: case ALPS_PROTO_V4:
priv->hw_init = alps_hw_init_v4; priv->hw_init = alps_hw_init_v4;
priv->process_packet = alps_process_packet_v4; priv->process_packet = alps_process_packet_v4;
priv->set_abs_params = alps_set_abs_params_mt; priv->set_abs_params = alps_set_abs_params_semi_mt;
priv->nibble_commands = alps_v4_nibble_commands; priv->nibble_commands = alps_v4_nibble_commands;
priv->addr_command = PSMOUSE_CMD_DISABLE; priv->addr_command = PSMOUSE_CMD_DISABLE;
break; break;
...@@ -2640,7 +2640,7 @@ static int alps_set_protocol(struct psmouse *psmouse, ...@@ -2640,7 +2640,7 @@ static int alps_set_protocol(struct psmouse *psmouse,
priv->hw_init = alps_hw_init_dolphin_v1; priv->hw_init = alps_hw_init_dolphin_v1;
priv->process_packet = alps_process_touchpad_packet_v3_v5; priv->process_packet = alps_process_touchpad_packet_v3_v5;
priv->decode_fields = alps_decode_dolphin; priv->decode_fields = alps_decode_dolphin;
priv->set_abs_params = alps_set_abs_params_mt; priv->set_abs_params = alps_set_abs_params_semi_mt;
priv->nibble_commands = alps_v3_nibble_commands; priv->nibble_commands = alps_v3_nibble_commands;
priv->addr_command = PSMOUSE_CMD_RESET_WRAP; priv->addr_command = PSMOUSE_CMD_RESET_WRAP;
priv->x_bits = 23; priv->x_bits = 23;
...@@ -2822,7 +2822,7 @@ static void alps_set_abs_params_mt_common(struct alps_data *priv, ...@@ -2822,7 +2822,7 @@ static void alps_set_abs_params_mt_common(struct alps_data *priv,
set_bit(BTN_TOOL_QUADTAP, dev1->keybit); set_bit(BTN_TOOL_QUADTAP, dev1->keybit);
} }
static void alps_set_abs_params_mt(struct alps_data *priv, static void alps_set_abs_params_semi_mt(struct alps_data *priv,
struct input_dev *dev1) struct input_dev *dev1)
{ {
alps_set_abs_params_mt_common(priv, dev1); alps_set_abs_params_mt_common(priv, dev1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment