From: Naresh Solanki Date: Fri, 27 Oct 2023 15:28:29 +0000 (+0000) Subject: regulator (max5970): Remove duplicate line X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=804bf07a1f726d4fe391d21b24a68ffc2381ba89;p=linux.git 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 --- diff --git a/drivers/regulator/max5970-regulator.c b/drivers/regulator/max5970-regulator.c index 56cc56ae63b73..bc88a40a88d4c 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++) {