Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: synaptics-rmi4 - remove the exporting of rmi_2d_sensor_set_input_params

The function rmi_2d_sensor_set_input_params is declared static and marked
EXPORT_SYMBOL_GPL, which is at best an odd combination. Because the
function is not used outside of the drivers/input/rmi4/rmi_2d_sensor.c
file it is defined in, this commit removes the EXPORT_SYMBOL_GPL() marking.

Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Denis Efremov and committed by
Dmitry Torokhov
3ccd63d3 f8890bd2

-1
-1
drivers/input/rmi4/rmi_2d_sensor.c
··· 204 204 if (sensor->topbuttonpad) 205 205 set_bit(INPUT_PROP_TOPBUTTONPAD, input->propbit); 206 206 } 207 - EXPORT_SYMBOL_GPL(rmi_2d_sensor_set_input_params); 208 207 209 208 int rmi_2d_sensor_configure_input(struct rmi_function *fn, 210 209 struct rmi_2d_sensor *sensor)