aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8973-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/max8973-regulator.c')
-rw-r--r--drivers/regulator/max8973-regulator.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c
index 3ee26387b12..9a8ea916300 100644
--- a/drivers/regulator/max8973-regulator.c
+++ b/drivers/regulator/max8973-regulator.c
@@ -248,8 +248,8 @@ static struct regulator_ops max8973_dcdc_ops = {
248 .get_mode = max8973_dcdc_get_mode, 248 .get_mode = max8973_dcdc_get_mode,
249}; 249};
250 250
251static int __devinit max8973_init_dcdc(struct max8973_chip *max, 251static int max8973_init_dcdc(struct max8973_chip *max,
252 struct max8973_regulator_platform_data *pdata) 252 struct max8973_regulator_platform_data *pdata)
253{ 253{
254 int ret; 254 int ret;
255 uint8_t control1 = 0; 255 uint8_t control1 = 0;
@@ -359,8 +359,8 @@ static const struct regmap_config max8973_regmap_config = {
359 .cache_type = REGCACHE_RBTREE, 359 .cache_type = REGCACHE_RBTREE,
360}; 360};
361 361
362static int __devinit max8973_probe(struct i2c_client *client, 362static int max8973_probe(struct i2c_client *client,
363 const struct i2c_device_id *id) 363 const struct i2c_device_id *id)
364{ 364{
365 struct max8973_regulator_platform_data *pdata; 365 struct max8973_regulator_platform_data *pdata;
366 struct regulator_config config = { }; 366 struct regulator_config config = { };
@@ -463,7 +463,7 @@ static int __devinit max8973_probe(struct i2c_client *client,
463 return 0; 463 return 0;
464} 464}
465 465
466static int __devexit max8973_remove(struct i2c_client *client) 466static int max8973_remove(struct i2c_client *client)
467{ 467{
468 struct max8973_chip *max = i2c_get_clientdata(client); 468 struct max8973_chip *max = i2c_get_clientdata(client);
469 469
@@ -484,7 +484,7 @@ static struct i2c_driver max8973_i2c_driver = {
484 .owner = THIS_MODULE, 484 .owner = THIS_MODULE,
485 }, 485 },
486 .probe = max8973_probe, 486 .probe = max8973_probe,
487 .remove = __devexit_p(max8973_remove), 487 .remove = max8973_remove,
488 .id_table = max8973_id, 488 .id_table = max8973_id,
489}; 489};
490 490