提交 bcc2d6d6 编写于 作者: D Dmitry Torokhov 提交者: Samuel Ortiz

mfd: Add some da9052-i2c section annotations

da9052_i2c_remove() can and should be marked as __devexit.
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 5364d0b8
......@@ -89,7 +89,7 @@ static int __devinit da9052_i2c_probe(struct i2c_client *client,
return ret;
}
static int da9052_i2c_remove(struct i2c_client *client)
static int __devexit da9052_i2c_remove(struct i2c_client *client)
{
struct da9052 *da9052 = i2c_get_clientdata(client);
......@@ -110,7 +110,7 @@ static struct i2c_device_id da9052_i2c_id[] = {
static struct i2c_driver da9052_i2c_driver = {
.probe = da9052_i2c_probe,
.remove = da9052_i2c_remove,
.remove = __devexit_p(da9052_i2c_remove),
.id_table = da9052_i2c_id,
.driver = {
.name = "da9052",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册