]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'regulator/topic/tps65023' into regulator-next
authorMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 23:56:53 +0000 (00:56 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 23:56:53 +0000 (00:56 +0100)
1  2 
drivers/regulator/tps65023-regulator.c

index a957579bd98b653aa3add5744953225ebf988984,f6e398240686893dd833f8388596cd2870dfe2a9..3ef67a86115c9c09e0196915c17f745d0099bb31
@@@ -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[] = {