diff options
| -rw-r--r-- | drivers/regulator/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index d7448adc7a2..278584302f2 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
| @@ -3321,7 +3321,8 @@ static void rdev_init_debugfs(struct regulator_dev *rdev) | |||
| 3321 | * @config: runtime configuration for regulator | 3321 | * @config: runtime configuration for regulator |
| 3322 | * | 3322 | * |
| 3323 | * Called by regulator drivers to register a regulator. | 3323 | * Called by regulator drivers to register a regulator. |
| 3324 | * Returns 0 on success. | 3324 | * Returns a valid pointer to struct regulator_dev on success |
| 3325 | * or an ERR_PTR() on error. | ||
| 3325 | */ | 3326 | */ |
| 3326 | struct regulator_dev * | 3327 | struct regulator_dev * |
| 3327 | regulator_register(const struct regulator_desc *regulator_desc, | 3328 | regulator_register(const struct regulator_desc *regulator_desc, |
