mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
Input: alps - cleanup alps_model_data
Sort all devices in alps_model_data by signature and remove command_mode_resp which is not used anymore. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
committed by
Dmitry Torokhov
parent
c9815232c3
commit
a3cbfd56ff
@@ -163,10 +163,6 @@ struct alps_protocol_info {
|
||||
/**
|
||||
* struct alps_model_info - touchpad ID table
|
||||
* @signature: E7 response string to match.
|
||||
* @command_mode_resp: For V3/V4 touchpads, the final byte of the EC response
|
||||
* (aka command mode response) identifies the firmware minor version. This
|
||||
* can be used to distinguish different hardware models which are not
|
||||
* uniquely identifiable through their E7 responses.
|
||||
* @protocol_info: information about protocol used by the device.
|
||||
*
|
||||
* Many (but not all) ALPS touchpads can be identified by looking at the
|
||||
@@ -175,7 +171,6 @@ struct alps_protocol_info {
|
||||
*/
|
||||
struct alps_model_info {
|
||||
u8 signature[3];
|
||||
u8 command_mode_resp;
|
||||
struct alps_protocol_info protocol_info;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user