From bcc2d6d6fcbee3c07515837b522f6c242f3f99e4 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Sat, 17 Mar 2012 16:01:09 -0700 Subject: mfd: Add some da9052-i2c section annotations da9052_i2c_remove() can and should be marked as __devexit. Signed-off-by: Dmitry Torokhov Signed-off-by: Samuel Ortiz --- drivers/mfd/da9052-i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/mfd') diff --git a/drivers/mfd/da9052-i2c.c b/drivers/mfd/da9052-i2c.c index fdc2c6a74e6..36b88e39549 100644 --- a/drivers/mfd/da9052-i2c.c +++ b/drivers/mfd/da9052-i2c.c @@ -89,7 +89,7 @@ err: 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", -- cgit v1.2.3-70-g09d2