Commit 804bf07a authored by Naresh Solanki's avatar Naresh Solanki Committed by Mark Brown

regulator (max5970): Remove duplicate line

Remove redundant/duplicate line.
Signed-off-by: default avatarNaresh Solanki <naresh.solanki@9elements.com>
Link: https://lore.kernel.org/r/20231027152830.1269895-2-naresh.solanki@9elements.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent f5afdd13
......@@ -584,7 +584,6 @@ static int max597x_regulator_probe(struct platform_device *pdev)
else
return -ENODEV;
i2c_set_clientdata(i2c, max597x);
num_switches = max597x->num_switches;
for (i = 0; i < num_switches; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment