]> Git Repo - linux.git/commitdiff
regulator (max5970): Remove duplicate line
authorNaresh Solanki <[email protected]>
Fri, 27 Oct 2023 15:28:29 +0000 (15:28 +0000)
committerMark Brown <[email protected]>
Fri, 27 Oct 2023 16:37:37 +0000 (17:37 +0100)
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]>
drivers/regulator/max5970-regulator.c

index 56cc56ae63b73e6e455b2fdd699e29538893308c..bc88a40a88d4cac0bbe61efc4725703b1136654e 100644 (file)
@@ -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++) {
This page took 0.057506 seconds and 4 git commands to generate.