Input: synaptics-rmi4 - remove the exporting of rmi_2d_sensor_set_input_params
authorDenis Efremov <efremov@linux.com>
Sun, 14 Jul 2019 18:26:34 +0000 (11:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Jul 2019 09:58:11 +0000 (12:58 +0300)
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>
drivers/input/rmi4/rmi_2d_sensor.c

index ea549efe4bc40fa784c5ec1582c93146d0323ce7..b7fe6eb35a4ecd629f367bf49306a9fdcbd2c98a 100644 (file)
@@ -204,7 +204,6 @@ static void rmi_2d_sensor_set_input_params(struct rmi_2d_sensor *sensor)
        if (sensor->topbuttonpad)
                set_bit(INPUT_PROP_TOPBUTTONPAD, input->propbit);
 }
-EXPORT_SYMBOL_GPL(rmi_2d_sensor_set_input_params);
 
 int rmi_2d_sensor_configure_input(struct rmi_function *fn,
                                        struct rmi_2d_sensor *sensor)