aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/ad714x-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/ad714x-spi.c')
-rw-r--r--drivers/input/misc/ad714x-spi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/misc/ad714x-spi.c b/drivers/input/misc/ad714x-spi.c
index 75f6136d608..bdccca42d13 100644
--- a/drivers/input/misc/ad714x-spi.c
+++ b/drivers/input/misc/ad714x-spi.c
@@ -83,7 +83,7 @@ static int ad714x_spi_write(struct ad714x_chip *chip,
83 return 0; 83 return 0;
84} 84}
85 85
86static int __devinit ad714x_spi_probe(struct spi_device *spi) 86static int ad714x_spi_probe(struct spi_device *spi)
87{ 87{
88 struct ad714x_chip *chip; 88 struct ad714x_chip *chip;
89 int err; 89 int err;
@@ -103,7 +103,7 @@ static int __devinit ad714x_spi_probe(struct spi_device *spi)
103 return 0; 103 return 0;
104} 104}
105 105
106static int __devexit ad714x_spi_remove(struct spi_device *spi) 106static int ad714x_spi_remove(struct spi_device *spi)
107{ 107{
108 struct ad714x_chip *chip = spi_get_drvdata(spi); 108 struct ad714x_chip *chip = spi_get_drvdata(spi);
109 109
@@ -120,7 +120,7 @@ static struct spi_driver ad714x_spi_driver = {
120 .pm = &ad714x_spi_pm, 120 .pm = &ad714x_spi_pm,
121 }, 121 },
122 .probe = ad714x_spi_probe, 122 .probe = ad714x_spi_probe,
123 .remove = __devexit_p(ad714x_spi_remove), 123 .remove = ad714x_spi_remove,
124}; 124};
125 125
126module_spi_driver(ad714x_spi_driver); 126module_spi_driver(ad714x_spi_driver);