diff options
Diffstat (limited to 'drivers/gpio/gpio-max7301.c')
| -rw-r--r-- | drivers/gpio/gpio-max7301.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-max7301.c b/drivers/gpio/gpio-max7301.c index 741acfcbe761..c6c535c1310e 100644 --- a/drivers/gpio/gpio-max7301.c +++ b/drivers/gpio/gpio-max7301.c | |||
| @@ -50,7 +50,7 @@ static int max7301_spi_read(struct device *dev, unsigned int reg) | |||
| 50 | return word & 0xff; | 50 | return word & 0xff; |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | static int __devinit max7301_probe(struct spi_device *spi) | 53 | static int max7301_probe(struct spi_device *spi) |
| 54 | { | 54 | { |
| 55 | struct max7301 *ts; | 55 | struct max7301 *ts; |
| 56 | int ret; | 56 | int ret; |
| @@ -75,7 +75,7 @@ static int __devinit max7301_probe(struct spi_device *spi) | |||
| 75 | return ret; | 75 | return ret; |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | static int __devexit max7301_remove(struct spi_device *spi) | 78 | static int max7301_remove(struct spi_device *spi) |
| 79 | { | 79 | { |
| 80 | return __max730x_remove(&spi->dev); | 80 | return __max730x_remove(&spi->dev); |
| 81 | } | 81 | } |
| @@ -92,7 +92,7 @@ static struct spi_driver max7301_driver = { | |||
| 92 | .owner = THIS_MODULE, | 92 | .owner = THIS_MODULE, |
| 93 | }, | 93 | }, |
| 94 | .probe = max7301_probe, | 94 | .probe = max7301_probe, |
| 95 | .remove = __devexit_p(max7301_remove), | 95 | .remove = max7301_remove, |
| 96 | .id_table = max7301_id, | 96 | .id_table = max7301_id, |
| 97 | }; | 97 | }; |
| 98 | 98 | ||
