summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/input/misc/ad714x-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/input/misc/ad714x-spi.c')
-rw-r--r--kernel/drivers/input/misc/ad714x-spi.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/drivers/input/misc/ad714x-spi.c b/kernel/drivers/input/misc/ad714x-spi.c
index a79e50b58..aac910326 100644
--- a/kernel/drivers/input/misc/ad714x-spi.c
+++ b/kernel/drivers/input/misc/ad714x-spi.c
@@ -101,23 +101,12 @@ static int ad714x_spi_probe(struct spi_device *spi)
return 0;
}
-static int ad714x_spi_remove(struct spi_device *spi)
-{
- struct ad714x_chip *chip = spi_get_drvdata(spi);
-
- ad714x_remove(chip);
-
- return 0;
-}
-
static struct spi_driver ad714x_spi_driver = {
.driver = {
.name = "ad714x_captouch",
- .owner = THIS_MODULE,
.pm = &ad714x_spi_pm,
},
.probe = ad714x_spi_probe,
- .remove = ad714x_spi_remove,
};
module_spi_driver(ad714x_spi_driver);