Commit de3483b0 authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds

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: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarJuergen Beisert <j.beisert@pengutronix.de>
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 77906a54
...@@ -287,7 +287,7 @@ static int __devinit max7301_probe(struct spi_device *spi) ...@@ -287,7 +287,7 @@ static int __devinit max7301_probe(struct spi_device *spi)
return ret; return ret;
} }
static int max7301_remove(struct spi_device *spi) static int __devexit max7301_remove(struct spi_device *spi)
{ {
struct max7301 *ts; struct max7301 *ts;
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment