Skip to content

Commit 6048993

Browse files
akemnadebroonie
authored andcommitted
regulator: fp9931: fix regulator node pointer
Sync the driver with the binding. During review process a regulators subnode was requested but neither driver nor test setup was updated. Fixes: 12d821b ("regulator: Add FP9931/JD9930 driver") Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Link: https://patch.msgid.link/20251223-fp9931-fix-v1-1-b19b4c1e7056@kemnade.info Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 9c6552c commit 6048993

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/regulator/fp9931.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ static const struct regulator_desc regulators[] = {
391391
{
392392
.name = "v3p3",
393393
.of_match = of_match_ptr("v3p3"),
394+
.regulators_node = of_match_ptr("regulators"),
394395
.id = 0,
395396
.ops = &fp9931_v3p3ops,
396397
.type = REGULATOR_VOLTAGE,
@@ -403,6 +404,7 @@ static const struct regulator_desc regulators[] = {
403404
{
404405
.name = "vposneg",
405406
.of_match = of_match_ptr("vposneg"),
407+
.regulators_node = of_match_ptr("regulators"),
406408
.id = 1,
407409
.ops = &fp9931_vposneg_ops,
408410
.type = REGULATOR_VOLTAGE,
@@ -415,6 +417,7 @@ static const struct regulator_desc regulators[] = {
415417
{
416418
.name = "vcom",
417419
.of_match = of_match_ptr("vcom"),
420+
.regulators_node = of_match_ptr("regulators"),
418421
.id = 2,
419422
.ops = &fp9931_vcom_ops,
420423
.type = REGULATOR_VOLTAGE,

0 commit comments

Comments
 (0)