[PATCH v6 2/2] regulator (max5970): Remove duplicate line

From: Naresh Solanki
Date: Fri Oct 27 2023 - 11:29:08 EST


Remove redundant/duplicate line.

Signed-off-by: Naresh Solanki <naresh.solanki@xxxxxxxxxxxxx>
---
drivers/regulator/max5970-regulator.c | 1 -
1 file changed, 1 deletion(-)

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++) {
--
2.41.0