Skip to content

Commit

Permalink
leds: leds-bd2802: remove erroneous __exit annotation
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG was removed, so __devexit or __exit of remove()
should not be used.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
  • Loading branch information
Jingoo Han authored and Bryan Wu committed Apr 1, 2013
1 parent 6fd7962 commit e9dd68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/leds/leds-bd2802.c
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ static int bd2802_probe(struct i2c_client *client,
return ret;
}

static int __exit bd2802_remove(struct i2c_client *client)
static int bd2802_remove(struct i2c_client *client)
{
struct bd2802_led *led = i2c_get_clientdata(client);
int i;
Expand Down Expand Up @@ -804,7 +804,7 @@ static struct i2c_driver bd2802_i2c_driver = {
.pm = BD2802_PM,
},
.probe = bd2802_probe,
.remove = __exit_p(bd2802_remove),
.remove = bd2802_remove,
.id_table = bd2802_id,
};

Expand Down

0 comments on commit e9dd68c

Please sign in to comment.