Skip to content

Commit

Permalink
drivers/leds/leds-lp5521.c: provide section tagging
Browse files Browse the repository at this point in the history
Tag the and remove() function as __devexit respectively.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Linus Walleij authored and Linus Torvalds committed Jul 26, 2011
1 parent 05ed849 commit 19ab5cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/leds/leds-lp5521.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ static int __devinit lp5521_probe(struct i2c_client *client,
return ret;
}

static int lp5521_remove(struct i2c_client *client)
static int __devexit lp5521_remove(struct i2c_client *client)
{
struct lp5521_chip *chip = i2c_get_clientdata(client);
int i;
Expand Down Expand Up @@ -775,7 +775,7 @@ static struct i2c_driver lp5521_driver = {
.name = "lp5521",
},
.probe = lp5521_probe,
.remove = lp5521_remove,
.remove = __devexit_p(lp5521_remove),
.id_table = lp5521_id,
};

Expand Down

0 comments on commit 19ab5cb

Please sign in to comment.