Skip to content

Commit

Permalink
gpio: Use __devexit at necessary places
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Grant Likely committed Mar 12, 2011
1 parent 98f51ca commit fc1599f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpio/74x164.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static int __devinit gen_74x164_probe(struct spi_device *spi)
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;
int ret;
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpio/mc33880.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static int __devinit mc33880_probe(struct spi_device *spi)
return ret;
}

static int mc33880_remove(struct spi_device *spi)
static int __devexit mc33880_remove(struct spi_device *spi)
{
struct mc33880 *mc;
int ret;
Expand Down

0 comments on commit fc1599f

Please sign in to comment.