From 804bf07a1f726d4fe391d21b24a68ffc2381ba89 Mon Sep 17 00:00:00 2001 From: Naresh Solanki Date: Fri, 27 Oct 2023 15:28:29 +0000 Subject: regulator (max5970): Remove duplicate line Remove redundant/duplicate line. Signed-off-by: Naresh Solanki Link: https://lore.kernel.org/r/20231027152830.1269895-2-naresh.solanki@9elements.com Signed-off-by: Mark Brown --- drivers/regulator/max5970-regulator.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/regulator/max5970-regulator.c') 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++) { -- cgit