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

Message ID 20231027152830.1269895-2-naresh.solanki@9elements.com
State New
Headers
Series [v6,1/2] regulator (max5970): Add hwmon support |

Commit Message

Naresh Solanki Oct. 27, 2023, 3:28 p.m. UTC
  Remove redundant/duplicate line.

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

Patch

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