diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2016-12-03 04:49:10 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-12-03 04:51:32 +0300 |
commit | ae9979c31007d5366b73640ee7dcbb271357053e (patch) | |
tree | 90e2a51cccf83eccb72bdab6fac1e668ee4defe1 /include/linux/rmi.h | |
parent | b908d3cd812abe3f4a74d7550bbf0a8cbcfbe6ed (diff) | |
download | linux-ae9979c31007d5366b73640ee7dcbb271357053e.tar.xz |
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.h | 5 |
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); }; |