Commit fc1599f7 authored by Axel Lin's avatar Axel Lin Committed by Grant Likely

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 98f51ca9
...@@ -133,7 +133,7 @@ static int __devinit gen_74x164_probe(struct spi_device *spi) ...@@ -133,7 +133,7 @@ static int __devinit gen_74x164_probe(struct spi_device *spi)
return ret; return ret;
} }
static int gen_74x164_remove(struct spi_device *spi) static int __devexit gen_74x164_remove(struct spi_device *spi)
{ {
struct gen_74x164_chip *chip; struct gen_74x164_chip *chip;
int ret; int ret;
......
...@@ -146,7 +146,7 @@ static int __devinit mc33880_probe(struct spi_device *spi) ...@@ -146,7 +146,7 @@ static int __devinit mc33880_probe(struct spi_device *spi)
return ret; return ret;
} }
static int mc33880_remove(struct spi_device *spi) static int __devexit mc33880_remove(struct spi_device *spi)
{ {
struct mc33880 *mc; struct mc33880 *mc;
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