OSDN Git Service

Merge branch 'topic/core' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
authorMark Brown <broonie@kernel.org>
Fri, 9 Jan 2015 18:03:55 +0000 (18:03 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 9 Jan 2015 18:03:55 +0000 (18:03 +0000)
Conflicts:
drivers/regulator/core.c

1  2 
drivers/regulator/core.c

@@@ -3585,8 -3585,7 +3585,8 @@@ regulator_register(const struct regulat
  {
        const struct regulation_constraints *constraints = NULL;
        const struct regulator_init_data *init_data;
-       static atomic_t regulator_no = ATOMIC_INIT(0);
 +      struct regulator_config *config = NULL;
+       static atomic_t regulator_no = ATOMIC_INIT(-1);
        struct regulator_dev *rdev;
        struct device *dev;
        int ret, i;