diff options
| -rw-r--r-- | drivers/input/touchscreen/ad7879-spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ad7879-spi.c b/drivers/input/touchscreen/ad7879-spi.c index 606da5bd6115..1a7b1143536e 100644 --- a/drivers/input/touchscreen/ad7879-spi.c +++ b/drivers/input/touchscreen/ad7879-spi.c | |||
| @@ -142,7 +142,6 @@ static int ad7879_spi_remove(struct spi_device *spi) | |||
| 142 | struct ad7879 *ts = spi_get_drvdata(spi); | 142 | struct ad7879 *ts = spi_get_drvdata(spi); |
| 143 | 143 | ||
| 144 | ad7879_remove(ts); | 144 | ad7879_remove(ts); |
| 145 | spi_set_drvdata(spi, NULL); | ||
| 146 | 145 | ||
| 147 | return 0; | 146 | return 0; |
| 148 | } | 147 | } |
