aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ams/ams-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ams/ams-input.c')
-rw-r--r--drivers/hwmon/ams/ams-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ams/ams-input.c b/drivers/hwmon/ams/ams-input.c
index f126aa485134..18210164e307 100644
--- a/drivers/hwmon/ams/ams-input.c
+++ b/drivers/hwmon/ams/ams-input.c
@@ -153,7 +153,7 @@ int ams_input_init(void)
153} 153}
154 154
155/* Call with ams_info.lock held! */ 155/* Call with ams_info.lock held! */
156void ams_input_exit() 156void ams_input_exit(void)
157{ 157{
158 ams_input_disable(); 158 ams_input_disable();
159 device_remove_file(&ams_info.of_dev->dev, &dev_attr_joystick); 159 device_remove_file(&ams_info.of_dev->dev, &dev_attr_joystick);