提交 e9dd68cf 编写于 作者: J Jingoo Han 提交者: Bryan Wu

leds: leds-bd2802: remove erroneous __exit annotation

CONFIG_HOTPLUG was removed, so __devexit or __exit of remove()
should not be used.
Signed-off-by: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NBryan Wu <cooloney@gmail.com>
上级 6fd79627
......@@ -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;
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册