aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/anatop-regulator.c2
-rw-r--r--drivers/regulator/da9055-regulator.c12
-rw-r--r--drivers/regulator/fixed.c2
-rw-r--r--drivers/regulator/gpio-regulator.c2
-rw-r--r--drivers/regulator/max8973-regulator.c12
-rw-r--r--drivers/regulator/palmas-regulator.c2
-rw-r--r--drivers/regulator/twl-regulator.c2
7 files changed, 17 insertions, 17 deletions
diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c
index 0199eeea63b1..8f39cac661d2 100644
--- a/drivers/regulator/anatop-regulator.c
+++ b/drivers/regulator/anatop-regulator.c
@@ -188,7 +188,7 @@ static int anatop_regulator_remove(struct platform_device *pdev)
188 return 0; 188 return 0;
189} 189}
190 190
191static struct of_device_id __devinitdata of_anatop_regulator_match_tbl[] = { 191static struct of_device_id of_anatop_regulator_match_tbl[] = {
192 { .compatible = "fsl,anatop-regulator", }, 192 { .compatible = "fsl,anatop-regulator", },
193 { /* end */ } 193 { /* end */ }
194}; 194};
diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c
index a4b9cb8c4317..1a05ac66878f 100644
--- a/drivers/regulator/da9055-regulator.c
+++ b/drivers/regulator/da9055-regulator.c
@@ -442,9 +442,9 @@ static struct da9055_regulator_info da9055_regulator_info[] = {
442 * GPIO can control regulator state and/or select the regulator register 442 * GPIO can control regulator state and/or select the regulator register
443 * set A/B for voltage ramping. 443 * set A/B for voltage ramping.
444 */ 444 */
445static __devinit int da9055_gpio_init(struct da9055_regulator *regulator, 445static int da9055_gpio_init(struct da9055_regulator *regulator,
446 struct regulator_config *config, 446 struct regulator_config *config,
447 struct da9055_pdata *pdata, int id) 447 struct da9055_pdata *pdata, int id)
448{ 448{
449 struct da9055_regulator_info *info = regulator->info; 449 struct da9055_regulator_info *info = regulator->info;
450 int ret = 0; 450 int ret = 0;
@@ -533,7 +533,7 @@ static inline struct da9055_regulator_info *find_regulator_info(int id)
533 return NULL; 533 return NULL;
534} 534}
535 535
536static int __devinit da9055_regulator_probe(struct platform_device *pdev) 536static int da9055_regulator_probe(struct platform_device *pdev)
537{ 537{
538 struct regulator_config config = { }; 538 struct regulator_config config = { };
539 struct da9055_regulator *regulator; 539 struct da9055_regulator *regulator;
@@ -605,7 +605,7 @@ err_regulator:
605 return ret; 605 return ret;
606} 606}
607 607
608static int __devexit da9055_regulator_remove(struct platform_device *pdev) 608static int da9055_regulator_remove(struct platform_device *pdev)
609{ 609{
610 struct da9055_regulator *regulator = platform_get_drvdata(pdev); 610 struct da9055_regulator *regulator = platform_get_drvdata(pdev);
611 611
@@ -616,7 +616,7 @@ static int __devexit da9055_regulator_remove(struct platform_device *pdev)
616 616
617static struct platform_driver da9055_regulator_driver = { 617static struct platform_driver da9055_regulator_driver = {
618 .probe = da9055_regulator_probe, 618 .probe = da9055_regulator_probe,
619 .remove = __devexit_p(da9055_regulator_remove), 619 .remove = da9055_regulator_remove,
620 .driver = { 620 .driver = {
621 .name = "da9055-regulator", 621 .name = "da9055-regulator",
622 .owner = THIS_MODULE, 622 .owner = THIS_MODULE,
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index 48d5b7608b00..e5c03b534fae 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -246,7 +246,7 @@ static int reg_fixed_voltage_remove(struct platform_device *pdev)
246} 246}
247 247
248#if defined(CONFIG_OF) 248#if defined(CONFIG_OF)
249static const struct of_device_id fixed_of_match[] __devinitconst = { 249static const struct of_device_id fixed_of_match[] = {
250 { .compatible = "regulator-fixed", }, 250 { .compatible = "regulator-fixed", },
251 {}, 251 {},
252}; 252};
diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c
index 8ae288fc150b..bae681ccd3ea 100644
--- a/drivers/regulator/gpio-regulator.c
+++ b/drivers/regulator/gpio-regulator.c
@@ -365,7 +365,7 @@ static int gpio_regulator_remove(struct platform_device *pdev)
365} 365}
366 366
367#if defined(CONFIG_OF) 367#if defined(CONFIG_OF)
368static const struct of_device_id regulator_gpio_of_match[] __devinitconst = { 368static const struct of_device_id regulator_gpio_of_match[] = {
369 { .compatible = "regulator-gpio", }, 369 { .compatible = "regulator-gpio", },
370 {}, 370 {},
371}; 371};
diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c
index 3ee26387b121..9a8ea9163005 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
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index e915629a25cf..c9e912f583bc 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -806,7 +806,7 @@ static int palmas_remove(struct platform_device *pdev)
806 return 0; 806 return 0;
807} 807}
808 808
809static struct of_device_id __devinitdata of_palmas_match_tbl[] = { 809static struct of_device_id of_palmas_match_tbl[] = {
810 { .compatible = "ti,palmas-pmic", }, 810 { .compatible = "ti,palmas-pmic", },
811 { /* end */ } 811 { /* end */ }
812}; 812};
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 493c8c6a241f..74508cc62d67 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -1064,7 +1064,7 @@ static u8 twl_get_smps_mult(void)
1064#define TWLFIXED_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWLFIXED, label) 1064#define TWLFIXED_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWLFIXED, label)
1065#define TWLSMPS_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWLSMPS, label) 1065#define TWLSMPS_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWLSMPS, label)
1066 1066
1067static const struct of_device_id twl_of_match[] __devinitconst = { 1067static const struct of_device_id twl_of_match[] = {
1068 TWL4030_OF_MATCH("ti,twl4030-vaux1", VAUX1), 1068 TWL4030_OF_MATCH("ti,twl4030-vaux1", VAUX1),
1069 TWL4030_OF_MATCH("ti,twl4030-vaux2", VAUX2_4030), 1069 TWL4030_OF_MATCH("ti,twl4030-vaux2", VAUX2_4030),
1070 TWL4030_OF_MATCH("ti,twl5030-vaux2", VAUX2), 1070 TWL4030_OF_MATCH("ti,twl5030-vaux2", VAUX2),