aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-17 19:01:09 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-20 11:38:14 -0400
commitbcc2d6d6fcbee3c07515837b522f6c242f3f99e4 (patch)
tree072dad9b4e43ed3097a7b811748cc382a334743e /drivers/mfd
parent5364d0b8640dd15e5c0b3ba40d0e874764b1bc88 (diff)
mfd: Add some da9052-i2c section annotations
da9052_i2c_remove() can and should be marked as __devexit. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/da9052-i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/da9052-i2c.c b/drivers/mfd/da9052-i2c.c
index fdc2c6a74e62..36b88e395499 100644
--- a/drivers/mfd/da9052-i2c.c
+++ b/drivers/mfd/da9052-i2c.c
@@ -89,7 +89,7 @@ err:
89 return ret; 89 return ret;
90} 90}
91 91
92static int da9052_i2c_remove(struct i2c_client *client) 92static int __devexit da9052_i2c_remove(struct i2c_client *client)
93{ 93{
94 struct da9052 *da9052 = i2c_get_clientdata(client); 94 struct da9052 *da9052 = i2c_get_clientdata(client);
95 95
@@ -110,7 +110,7 @@ static struct i2c_device_id da9052_i2c_id[] = {
110 110
111static struct i2c_driver da9052_i2c_driver = { 111static struct i2c_driver da9052_i2c_driver = {
112 .probe = da9052_i2c_probe, 112 .probe = da9052_i2c_probe,
113 .remove = da9052_i2c_remove, 113 .remove = __devexit_p(da9052_i2c_remove),
114 .id_table = da9052_i2c_id, 114 .id_table = da9052_i2c_id,
115 .driver = { 115 .driver = {
116 .name = "da9052", 116 .name = "da9052",