summaryrefslogtreecommitdiff
path: root/include/linux/rmi.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-11-29 17:42:01 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-11-30 09:03:12 -0800
commit0d37d63a001202b4932f6b14b05d8d055a0a45b6 (patch)
treeabb87c10b6c741b6d332f62e05c2b55439882c8d /include/linux/rmi.h
parent9e421b7c60860f150aa29e9f7bc902f003d87e68 (diff)
Input: synaptics-rmi4 - remove unused fields in struct rmi_driver_data
These fields are not used anywhere, there is no point in carrying them. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/rmi.h')
-rw-r--r--include/linux/rmi.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/rmi.h b/include/linux/rmi.h
index 27dd9aa4090c..0b118ab47b8d 100644
--- a/include/linux/rmi.h
+++ b/include/linux/rmi.h
@@ -340,7 +340,6 @@ struct rmi_driver_data {
struct rmi_function *f34_container;
bool f01_bootloader_mode;
- u32 attn_count;
int num_of_irq_regs;
int irq_count;
void *irq_memory;
@@ -352,14 +351,11 @@ struct rmi_driver_data {
struct input_dev *input;
u8 pdt_props;
- u8 bsr;
u8 num_rx_electrodes;
u8 num_tx_electrodes;
bool enabled;
-
- void *data;
};
int rmi_register_transport_device(struct rmi_transport_dev *xport);