diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-03-10 04:10:45 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-12 04:14:48 -0500 |
commit | fc1599f7b0f6aff566237342ade28f2981186cc9 (patch) | |
tree | fc0a7011bf605534dbbb465ab4ee3b445e92775b /drivers/gpio/74x164.c | |
parent | 98f51ca98054b1268a7fdfe51d93c86a449ae87c (diff) |
gpio: Use __devexit at necessary places
The function gen_74x164_remove and mc33880_remove are used only wrapped
by __devexit_p so define it using __devexit.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/74x164.c')
-rw-r--r-- | drivers/gpio/74x164.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/74x164.c b/drivers/gpio/74x164.c index d91ff4c282e9..84e070219839 100644 --- a/drivers/gpio/74x164.c +++ b/drivers/gpio/74x164.c | |||
@@ -133,7 +133,7 @@ exit_destroy: | |||
133 | return ret; | 133 | return ret; |
134 | } | 134 | } |
135 | 135 | ||
136 | static int gen_74x164_remove(struct spi_device *spi) | 136 | static int __devexit gen_74x164_remove(struct spi_device *spi) |
137 | { | 137 | { |
138 | struct gen_74x164_chip *chip; | 138 | struct gen_74x164_chip *chip; |
139 | int ret; | 139 | int ret; |