Input: elantech - split device info into a separate structure
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 23 May 2018 00:26:24 +0000 (17:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 May 2018 23:48:49 +0000 (16:48 -0700)
commitf07875920116af44c3eac6a386e8154eb6c4cbaf
treef914d7b6cffd0f799511841007fbc5b0dadddb28
parent559b3df76f1a0f5f85f09c368d5580dae9c70adc
Input: elantech - split device info into a separate structure

In preparation for SMBus device support, move static device
information that we query form the touchpad upon initialization into
separate structure. This will allow us to query the device without
allocating memory first.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: KT Liao <kt.liao@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elantech.c
drivers/input/mouse/elantech.h