aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/arizona-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/arizona-i2c.c')
-rw-r--r--drivers/mfd/arizona-i2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/arizona-i2c.c b/drivers/mfd/arizona-i2c.c
index 570c4b438086..44a1bb969841 100644
--- a/drivers/mfd/arizona-i2c.c
+++ b/drivers/mfd/arizona-i2c.c
@@ -22,7 +22,7 @@
22 22
23#include "arizona.h" 23#include "arizona.h"
24 24
25static __devinit int arizona_i2c_probe(struct i2c_client *i2c, 25static int arizona_i2c_probe(struct i2c_client *i2c,
26 const struct i2c_device_id *id) 26 const struct i2c_device_id *id)
27{ 27{
28 struct arizona *arizona; 28 struct arizona *arizona;
@@ -65,7 +65,7 @@ static __devinit int arizona_i2c_probe(struct i2c_client *i2c,
65 return arizona_dev_init(arizona); 65 return arizona_dev_init(arizona);
66} 66}
67 67
68static int __devexit arizona_i2c_remove(struct i2c_client *i2c) 68static int arizona_i2c_remove(struct i2c_client *i2c)
69{ 69{
70 struct arizona *arizona = dev_get_drvdata(&i2c->dev); 70 struct arizona *arizona = dev_get_drvdata(&i2c->dev);
71 arizona_dev_exit(arizona); 71 arizona_dev_exit(arizona);
@@ -86,7 +86,7 @@ static struct i2c_driver arizona_i2c_driver = {
86 .pm = &arizona_pm_ops, 86 .pm = &arizona_pm_ops,
87 }, 87 },
88 .probe = arizona_i2c_probe, 88 .probe = arizona_i2c_probe,
89 .remove = __devexit_p(arizona_i2c_remove), 89 .remove = arizona_i2c_remove,
90 .id_table = arizona_i2c_id, 90 .id_table = arizona_i2c_id,
91}; 91};
92 92