summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/input/touchscreen/maxim_sti.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/input/touchscreen/maxim_sti.c b/drivers/input/touchscreen/maxim_sti.c
index bab77b8e5f34..aaaaf1535f10 100644
--- a/drivers/input/touchscreen/maxim_sti.c
+++ b/drivers/input/touchscreen/maxim_sti.c
@@ -1836,12 +1836,6 @@ static int remove(struct spi_device *spi)
INFO("removing...\n");
- if (dd->irq_registered)
- disable_irq(dd->spi->irq);
-
- dd->nl_enabled = false;
- (void)kthread_stop(dd->thread);
-
if (dd->fusion_process != (pid_t)0)
(void)kill_pid(find_get_pid(dd->fusion_process), SIGKILL, 1);
@@ -1891,17 +1885,6 @@ static void shutdown(struct spi_device *spi)
INFO("doing shutdown...\n");
- if (dd->irq_registered)
- disable_irq(dd->spi->irq);
-
- dd->nl_enabled = false;
- (void)kthread_stop(dd->thread);
-
- if (dd->fusion_process != (pid_t)0)
- (void)kill_pid(find_get_pid(dd->fusion_process), SIGKILL, 1);
-
- stop_scan_canned(dd);
-
pdata->reset(pdata, 0);
usleep_range(100, 120);
regulator_control(dd, false);