summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/max7301.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-18 01:26:16 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 22:03:44 +0200
commitde3483b071d9f75490f52c1be78434ac4eeccea5 (patch)
treed40c97fbf5b32071bf082212b3bf0cb1aa6a7a69 /drivers/gpio/max7301.c
parentpca953x: support GPIOLIB GPIO naming (diff)
downloadlinux-de3483b071d9f75490f52c1be78434ac4eeccea5.tar.xz
linux-de3483b071d9f75490f52c1be78434ac4eeccea5.zip
gpio: max7301: add missing __devexit marking
The remove member of the spi_driver max7301_driver uses __devexit_p(), so the remove function itself should be marked with __devexit. Even more so considering the probe function is marked with __devinit. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Juergen Beisert <j.beisert@pengutronix.de> Cc: Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/max7301.c')
-rw-r--r--drivers/gpio/max7301.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/max7301.c b/drivers/gpio/max7301.c
index 3e7f4e06386e..7b82eaae2621 100644
--- a/drivers/gpio/max7301.c
+++ b/drivers/gpio/max7301.c
@@ -287,7 +287,7 @@ exit_destroy:
return ret;
}
-static int max7301_remove(struct spi_device *spi)
+static int __devexit max7301_remove(struct spi_device *spi)
{
struct max7301 *ts;
int ret;