Merge remote-tracking branch 'regulator/topic/tps65023' into regulator-next
authorMark Brown <broonie@linaro.org>
Thu, 24 Oct 2013 10:11:42 +0000 (11:11 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 24 Oct 2013 10:11:42 +0000 (11:11 +0100)
1  2 
drivers/regulator/tps65023-regulator.c

@@@ -293,9 -293,25 +293,10 @@@ static int tps_65023_probe(struct i2c_c
  
        /* Enable setting output voltage by I2C */
        regmap_update_bits(tps->regmap, TPS65023_REG_CON_CTRL2,
-                       TPS65023_REG_CTRL2_CORE_ADJ, TPS65023_REG_CTRL2_CORE_ADJ);
+                                       TPS65023_REG_CTRL2_CORE_ADJ,
+                                       TPS65023_REG_CTRL2_CORE_ADJ);
  
        return 0;
 -
 - fail:
 -      while (--i >= 0)
 -              regulator_unregister(tps->rdev[i]);
 -      return error;
 -}
 -
 -static int tps_65023_remove(struct i2c_client *client)
 -{
 -      struct tps_pmic *tps = i2c_get_clientdata(client);
 -      int i;
 -
 -      for (i = 0; i < TPS65023_NUM_REGULATOR; i++)
 -              regulator_unregister(tps->rdev[i]);
 -      return 0;
  }
  
  static const struct tps_info tps65020_regs[] = {