Commit fc1599f7b0f6aff566237342ade28f2981186cc9

Authored by Axel Lin
Committed by Grant Likely
1 parent 98f51ca980

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>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

drivers/gpio/74x164.c
... ... @@ -133,7 +133,7 @@
133 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 138 struct gen_74x164_chip *chip;
139 139 int ret;
drivers/gpio/mc33880.c
... ... @@ -146,7 +146,7 @@
146 146 return ret;
147 147 }
148 148  
149   -static int mc33880_remove(struct spi_device *spi)
  149 +static int __devexit mc33880_remove(struct spi_device *spi)
150 150 {
151 151 struct mc33880 *mc;
152 152 int ret;