summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2019-07-14 20:26:34 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-07-24 11:58:11 +0200
commit3ccd63d369c80d7e73e19ca996d29b6e5d7225bb (patch)
treec709e584467c022c4cb7b046e934cefbd78b5f92 /drivers/input
parentInput: ts4800-ts - use devm_platform_ioremap_resource() (diff)
downloadlinux-3ccd63d369c80d7e73e19ca996d29b6e5d7225bb.tar.xz
linux-3ccd63d369c80d7e73e19ca996d29b6e5d7225bb.zip
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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/rmi4/rmi_2d_sensor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/rmi4/rmi_2d_sensor.c b/drivers/input/rmi4/rmi_2d_sensor.c
index ea549efe4bc4..b7fe6eb35a4e 100644
--- a/drivers/input/rmi4/rmi_2d_sensor.c
+++ b/drivers/input/rmi4/rmi_2d_sensor.c
@@ -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)