diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 16:38:28 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-09-20 16:58:29 (GMT) |
commit | 3a229b70d6fdd2aebf750997a5ca4e6b8885e7f6 (patch) | |
tree | d005e304f5ec557512c762d923dcddad48a7d713 /drivers/input/touchscreen | |
parent | 993c379219c0aa069ab046305b6b6a87a29c1d88 (diff) | |
download | linux-fsl-qoriq-3a229b70d6fdd2aebf750997a5ca4e6b8885e7f6.tar.xz |
Input: ad7879-spi - remove redundant spi_set_drvdata
Driver core sets driver data to NULL upon failure or remove.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-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 606da5b..1a7b114 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) struct ad7879 *ts = spi_get_drvdata(spi); ad7879_remove(ts); - spi_set_drvdata(spi, NULL); return 0; } |