projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77906a5
)
gpio: max7301: add missing __devexit marking
author
Mike Frysinger
<
[email protected]
>
Wed, 17 Jun 2009 23:26:16 +0000
(16:26 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 18 Jun 2009 20:03:44 +0000
(13:03 -0700)
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 <
[email protected]
>
Acked-by: Juergen Beisert <
[email protected]
>
Cc: Dmitry Baryshkov <
[email protected]
>
Cc: David Brownell <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/gpio/max7301.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/max7301.c
b/drivers/gpio/max7301.c
index 3e7f4e06386e7e31d4844e5861c4faedb0c76711..7b82eaae26218c6edb6195b06fb414c790db2c44 100644
(file)
--- 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;