Commit 19ab5cb8 authored by Linus Walleij's avatar Linus Walleij Committed by Linus Torvalds

drivers/leds/leds-lp5521.c: provide section tagging

Tag the and remove() function as __devexit respectively.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 05ed8490
...@@ -744,7 +744,7 @@ static int __devinit lp5521_probe(struct i2c_client *client, ...@@ -744,7 +744,7 @@ static int __devinit lp5521_probe(struct i2c_client *client,
return ret; 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); struct lp5521_chip *chip = i2c_get_clientdata(client);
int i; int i;
...@@ -775,7 +775,7 @@ static struct i2c_driver lp5521_driver = { ...@@ -775,7 +775,7 @@ static struct i2c_driver lp5521_driver = {
.name = "lp5521", .name = "lp5521",
}, },
.probe = lp5521_probe, .probe = lp5521_probe,
.remove = lp5521_remove, .remove = __devexit_p(lp5521_remove),
.id_table = lp5521_id, .id_table = lp5521_id,
}; };
......
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