|
@@ -744,7 +744,7 @@ fail1:
|
|
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 = {
|
|
.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,
|
|
};
|
|
};
|
|
|
|
|