aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rmi.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-12-02 17:49:10 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-12-02 17:51:32 -0800
commitae9979c31007d5366b73640ee7dcbb271357053e (patch)
tree90e2a51cccf83eccb72bdab6fac1e668ee4defe1 /include/linux/rmi.h
parentInput: synaptics-rmi4 - allow to add attention data (diff)
downloadlinux-dev-ae9979c31007d5366b73640ee7dcbb271357053e.tar.xz
linux-dev-ae9979c31007d5366b73640ee7dcbb271357053e.zip
Input: synaptics-rmi4 - store the attn data in the driver
Now that we have a proper API to set the attention data, there is no point in keeping it in the transport driver. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Andrew Duggan <aduggan@synaptics.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/rmi.h')
-rw-r--r--include/linux/rmi.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/rmi.h b/include/linux/rmi.h
index 1d4865621493..ac910f730688 100644
--- a/include/linux/rmi.h
+++ b/include/linux/rmi.h
@@ -272,9 +272,6 @@ struct rmi_transport_dev {
struct rmi_device_platform_data pdata;
struct input_dev *input;
-
- void *attn_data;
- int attn_size;
};
/**
@@ -364,6 +361,8 @@ struct rmi_driver_data {
bool enabled;
struct mutex enabled_mutex;
+
+ struct rmi4_attn_data attn_data;
DECLARE_KFIFO(attn_fifo, struct rmi4_attn_data, 16);
};