diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/edt-ft5x06.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index d4f33992ad8c..5a6d50c004d7 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c | |||
@@ -733,8 +733,7 @@ edt_ft5x06_ts_prepare_debugfs(struct edt_ft5x06_ts_data *tsdata, | |||
733 | static void | 733 | static void |
734 | edt_ft5x06_ts_teardown_debugfs(struct edt_ft5x06_ts_data *tsdata) | 734 | edt_ft5x06_ts_teardown_debugfs(struct edt_ft5x06_ts_data *tsdata) |
735 | { | 735 | { |
736 | if (tsdata->debug_dir) | 736 | debugfs_remove_recursive(tsdata->debug_dir); |
737 | debugfs_remove_recursive(tsdata->debug_dir); | ||
738 | kfree(tsdata->raw_buffer); | 737 | kfree(tsdata->raw_buffer); |
739 | } | 738 | } |
740 | 739 | ||