diff options
| -rw-r--r-- | drivers/regulator/ab3100.c | 10 | ||||
| -rw-r--r-- | drivers/regulator/bq24022.c | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c index 7de950959ed2..1afd008ca957 100644 --- a/drivers/regulator/ab3100.c +++ b/drivers/regulator/ab3100.c | |||
| @@ -492,18 +492,21 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
| 492 | .id = AB3100_LDO_A, | 492 | .id = AB3100_LDO_A, |
| 493 | .ops = ®ulator_ops_fixed, | 493 | .ops = ®ulator_ops_fixed, |
| 494 | .type = REGULATOR_VOLTAGE, | 494 | .type = REGULATOR_VOLTAGE, |
| 495 | .owner = THIS_MODULE, | ||
| 495 | }, | 496 | }, |
| 496 | { | 497 | { |
| 497 | .name = "LDO_C", | 498 | .name = "LDO_C", |
| 498 | .id = AB3100_LDO_C, | 499 | .id = AB3100_LDO_C, |
| 499 | .ops = ®ulator_ops_fixed, | 500 | .ops = ®ulator_ops_fixed, |
| 500 | .type = REGULATOR_VOLTAGE, | 501 | .type = REGULATOR_VOLTAGE, |
| 502 | .owner = THIS_MODULE, | ||
| 501 | }, | 503 | }, |
| 502 | { | 504 | { |
| 503 | .name = "LDO_D", | 505 | .name = "LDO_D", |
| 504 | .id = AB3100_LDO_D, | 506 | .id = AB3100_LDO_D, |
| 505 | .ops = ®ulator_ops_fixed, | 507 | .ops = ®ulator_ops_fixed, |
| 506 | .type = REGULATOR_VOLTAGE, | 508 | .type = REGULATOR_VOLTAGE, |
| 509 | .owner = THIS_MODULE, | ||
| 507 | }, | 510 | }, |
| 508 | { | 511 | { |
| 509 | .name = "LDO_E", | 512 | .name = "LDO_E", |
| @@ -511,6 +514,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
| 511 | .ops = ®ulator_ops_variable_sleepable, | 514 | .ops = ®ulator_ops_variable_sleepable, |
| 512 | .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages), | 515 | .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages), |
| 513 | .type = REGULATOR_VOLTAGE, | 516 | .type = REGULATOR_VOLTAGE, |
| 517 | .owner = THIS_MODULE, | ||
| 514 | }, | 518 | }, |
| 515 | { | 519 | { |
| 516 | .name = "LDO_F", | 520 | .name = "LDO_F", |
| @@ -518,6 +522,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
| 518 | .ops = ®ulator_ops_variable, | 522 | .ops = ®ulator_ops_variable, |
| 519 | .n_voltages = ARRAY_SIZE(ldo_f_typ_voltages), | 523 | .n_voltages = ARRAY_SIZE(ldo_f_typ_voltages), |
| 520 | .type = REGULATOR_VOLTAGE, | 524 | .type = REGULATOR_VOLTAGE, |
| 525 | .owner = THIS_MODULE, | ||
| 521 | }, | 526 | }, |
| 522 | { | 527 | { |
| 523 | .name = "LDO_G", | 528 | .name = "LDO_G", |
| @@ -525,6 +530,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
| 525 | .ops = ®ulator_ops_variable, | 530 | .ops = ®ulator_ops_variable, |
| 526 | .n_voltages = ARRAY_SIZE(ldo_g_typ_voltages), | 531 | .n_voltages = ARRAY_SIZE(ldo_g_typ_voltages), |
| 527 | .type = REGULATOR_VOLTAGE, | 532 | .type = REGULATOR_VOLTAGE, |
| 533 | .owner = THIS_MODULE, | ||
| 528 | }, | 534 | }, |
| 529 | { | 535 | { |
| 530 | .name = "LDO_H", | 536 | .name = "LDO_H", |
| @@ -532,6 +538,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
| 532 | .ops = ®ulator_ops_variable, | 538 | .ops = ®ulator_ops_variable, |
| 533 | .n_voltages = ARRAY_SIZE(ldo_h_typ_voltages), | 539 | .n_voltages = ARRAY_SIZE(ldo_h_typ_voltages), |
| 534 | .type = REGULATOR_VOLTAGE, | 540 | .type = REGULATOR_VOLTAGE, |
| 541 | .owner = THIS_MODULE, | ||
| 535 | }, | 542 | }, |
| 536 | { | 543 | { |
| 537 | .name = "LDO_K", | 544 | .name = "LDO_K", |
| @@ -539,12 +546,14 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
| 539 | .ops = ®ulator_ops_variable, | 546 | .ops = ®ulator_ops_variable, |
| 540 | .n_voltages = ARRAY_SIZE(ldo_k_typ_voltages), | 547 | .n_voltages = ARRAY_SIZE(ldo_k_typ_voltages), |
| 541 | .type = REGULATOR_VOLTAGE, | 548 | .type = REGULATOR_VOLTAGE, |
| 549 | .owner = THIS_MODULE, | ||
| 542 | }, | 550 | }, |
| 543 | { | 551 | { |
| 544 | .name = "LDO_EXT", | 552 | .name = "LDO_EXT", |
| 545 | .id = AB3100_LDO_EXT, | 553 | .id = AB3100_LDO_EXT, |
| 546 | .ops = ®ulator_ops_external, | 554 | .ops = ®ulator_ops_external, |
| 547 | .type = REGULATOR_VOLTAGE, | 555 | .type = REGULATOR_VOLTAGE, |
| 556 | .owner = THIS_MODULE, | ||
| 548 | }, | 557 | }, |
| 549 | { | 558 | { |
| 550 | .name = "BUCK", | 559 | .name = "BUCK", |
| @@ -552,6 +561,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
| 552 | .ops = ®ulator_ops_variable_sleepable, | 561 | .ops = ®ulator_ops_variable_sleepable, |
| 553 | .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages), | 562 | .n_voltages = ARRAY_SIZE(ldo_e_buck_typ_voltages), |
| 554 | .type = REGULATOR_VOLTAGE, | 563 | .type = REGULATOR_VOLTAGE, |
| 564 | .owner = THIS_MODULE, | ||
| 555 | }, | 565 | }, |
| 556 | }; | 566 | }; |
| 557 | 567 | ||
diff --git a/drivers/regulator/bq24022.c b/drivers/regulator/bq24022.c index d08cd9b66c6d..068d488a4f71 100644 --- a/drivers/regulator/bq24022.c +++ b/drivers/regulator/bq24022.c | |||
| @@ -78,6 +78,7 @@ static struct regulator_desc bq24022_desc = { | |||
| 78 | .name = "bq24022", | 78 | .name = "bq24022", |
| 79 | .ops = &bq24022_ops, | 79 | .ops = &bq24022_ops, |
| 80 | .type = REGULATOR_CURRENT, | 80 | .type = REGULATOR_CURRENT, |
| 81 | .owner = THIS_MODULE, | ||
| 81 | }; | 82 | }; |
| 82 | 83 | ||
| 83 | static int __init bq24022_probe(struct platform_device *pdev) | 84 | static int __init bq24022_probe(struct platform_device *pdev) |
