]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/input/rmi4/rmi_f12.c
Input: synaptics-rmi4 - have only one struct platform data
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 1 Dec 2016 01:01:50 +0000 (17:01 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 1 Dec 2016 01:42:19 +0000 (17:42 -0800)
commit0a135b88bceac40d0036e401c19cdbda65b38a8f
treeb5bbd78e35099836c45f2e5210793e421abb51b3
parente9dade4106e1c1ff4ae91386b9812ee8f51c3775
Input: synaptics-rmi4 - have only one struct platform data

If struct rmi_device_platform_data contains pointers to other struct,
it gets difficult to allocate a fixed size struct and copy it over between
drivers.

Change the pointers into a struct and change the code in rmi4 accordingly.

Reviewed-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f11.c
drivers/input/rmi4/rmi_f12.c
drivers/input/rmi4/rmi_f30.c
include/linux/rmi.h