Skip to content

Commit

Permalink
Merge remote-tracking branch 'regulator/for-5.20' into regulator-6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Aug 14, 2022
2 parents 568035b + d511e8a commit ac5d2f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ properties:
description:
Properties for single LDO regulator.

properties:
regulator-name:
pattern: "^LDO[1-5]$"
description:
should be "LDO1", ..., "LDO5"

unevaluatedProperties: false

"^BUCK[1-6]$":
Expand All @@ -62,11 +56,6 @@ properties:
Properties for single BUCK regulator.

properties:
regulator-name:
pattern: "^BUCK[1-6]$"
description:
should be "BUCK1", ..., "BUCK6"

nxp,dvs-run-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32"
minimum: 600000
Expand Down
2 changes: 1 addition & 1 deletion drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4784,10 +4784,10 @@ int regulator_bulk_get(struct device *dev, int num_consumers,
consumers[i].consumer = regulator_get(dev,
consumers[i].supply);
if (IS_ERR(consumers[i].consumer)) {
consumers[i].consumer = NULL;
ret = dev_err_probe(dev, PTR_ERR(consumers[i].consumer),
"Failed to get supply '%s'",
consumers[i].supply);
consumers[i].consumer = NULL;
goto err;
}

Expand Down

0 comments on commit ac5d2f0

Please sign in to comment.