]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/regulator/core.c
regulator: Don't increment use_count for boot_on regulators
[linux-2.6-omap-h63xx.git] / drivers / regulator / core.c
index 944887578d66e68c7a671dff7a0482c346102aa7..8588a2490e0a9a6af08fd6314c4f2ce2154ab99c 100644 (file)
@@ -814,7 +814,6 @@ static int set_machine_constraints(struct regulator_dev *rdev,
                        rdev->constraints = NULL;
                        goto out;
                }
-               rdev->use_count = 1;
        }
 
        print_constraints(rdev);