aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Solanki <[email protected]>2023-10-27 15:28:29 +0000
committerMark Brown <[email protected]>2023-10-27 17:37:37 +0100
commit804bf07a1f726d4fe391d21b24a68ffc2381ba89 (patch)
tree60579cae540ad3827a28e26ca602692f95d815ed
parentf5afdd13ed6c643c7243e685fe3cf5484b3fdfae (diff)
regulator (max5970): Remove duplicate line
Remove redundant/duplicate line. Signed-off-by: Naresh Solanki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--drivers/regulator/max5970-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max5970-regulator.c b/drivers/regulator/max5970-regulator.c
index 56cc56ae63b7..bc88a40a88d4 100644
--- a/drivers/regulator/max5970-regulator.c
+++ b/drivers/regulator/max5970-regulator.c
@@ -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++) {