aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/88pm805.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/88pm805.c')
-rw-r--r--drivers/mfd/88pm805.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mfd/88pm805.c b/drivers/mfd/88pm805.c
index c20a31136f04..e671230be2b1 100644
--- a/drivers/mfd/88pm805.c
+++ b/drivers/mfd/88pm805.c
@@ -135,7 +135,7 @@ static struct regmap_irq pm805_irqs[] = {
135 }, 135 },
136}; 136};
137 137
138static int __devinit device_irq_init_805(struct pm80x_chip *chip) 138static int device_irq_init_805(struct pm80x_chip *chip)
139{ 139{
140 struct regmap *map = chip->regmap; 140 struct regmap *map = chip->regmap;
141 unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT; 141 unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
@@ -189,7 +189,7 @@ static struct regmap_irq_chip pm805_irq_chip = {
189 .ack_base = PM805_INT_STATUS1, 189 .ack_base = PM805_INT_STATUS1,
190}; 190};
191 191
192static int __devinit device_805_init(struct pm80x_chip *chip) 192static int device_805_init(struct pm80x_chip *chip)
193{ 193{
194 int ret = 0; 194 int ret = 0;
195 unsigned int val; 195 unsigned int val;
@@ -232,7 +232,7 @@ out_irq_init:
232 return ret; 232 return ret;
233} 233}
234 234
235static int __devinit pm805_probe(struct i2c_client *client, 235static int pm805_probe(struct i2c_client *client,
236 const struct i2c_device_id *id) 236 const struct i2c_device_id *id)
237{ 237{
238 int ret = 0; 238 int ret = 0;
@@ -262,7 +262,7 @@ out_init:
262 return ret; 262 return ret;
263} 263}
264 264
265static int __devexit pm805_remove(struct i2c_client *client) 265static int pm805_remove(struct i2c_client *client)
266{ 266{
267 struct pm80x_chip *chip = i2c_get_clientdata(client); 267 struct pm80x_chip *chip = i2c_get_clientdata(client);
268 268
@@ -281,7 +281,7 @@ static struct i2c_driver pm805_driver = {
281 .pm = &pm80x_pm_ops, 281 .pm = &pm80x_pm_ops,
282 }, 282 },
283 .probe = pm805_probe, 283 .probe = pm805_probe,
284 .remove = __devexit_p(pm805_remove), 284 .remove = pm805_remove,
285 .id_table = pm80x_id_table, 285 .id_table = pm80x_id_table,
286}; 286};
287 287