Skip to content

Commit f26cdad

Browse files
bhupesh-sharmabroonie
authored andcommitted
regulator: qcom-rpmh: Add terminator at the end of pm7325x_vreg_data[] array
Add missing terminator(s) at the end of pm7325x_vreg_data[] array instances. Fixes: c4e5aa3 ("regulator: qcom-rpmh: Add PM7325/PMR735A regulator support") Cc: Mark Brown <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Bhupesh Sharma <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent ba5dabf commit f26cdad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/regulator/qcom-rpmh-regulator.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@ static const struct rpmh_vreg_init_data pm7325_vreg_data[] = {
10701070
RPMH_VREG("ldo17", "ldo%s17", &pmic5_pldo_lv, "vdd-l11-l17-l18-l19"),
10711071
RPMH_VREG("ldo18", "ldo%s18", &pmic5_pldo_lv, "vdd-l11-l17-l18-l19"),
10721072
RPMH_VREG("ldo19", "ldo%s19", &pmic5_pldo_lv, "vdd-l11-l17-l18-l19"),
1073+
{}
10731074
};
10741075

10751076
static const struct rpmh_vreg_init_data pmr735a_vreg_data[] = {
@@ -1083,6 +1084,7 @@ static const struct rpmh_vreg_init_data pmr735a_vreg_data[] = {
10831084
RPMH_VREG("ldo5", "ldo%s5", &pmic5_nldo, "vdd-l5-l6"),
10841085
RPMH_VREG("ldo6", "ldo%s6", &pmic5_nldo, "vdd-l5-l6"),
10851086
RPMH_VREG("ldo7", "ldo%s7", &pmic5_pldo, "vdd-l7-bob"),
1087+
{}
10861088
};
10871089

10881090
static int rpmh_regulator_probe(struct platform_device *pdev)

0 commit comments

Comments
 (0)