Merge remote-tracking branches 'regulator/topic/max8649', 'regulator/topic/mode'...
authorMark Brown <broonie@kernel.org>
Sun, 8 Feb 2015 03:16:27 +0000 (11:16 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 8 Feb 2015 03:16:27 +0000 (11:16 +0800)
1  2  3  4  5  6 
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/core.c
drivers/regulator/qcom_rpm-regulator.c

Simple merge
Simple merge
index e607bafa7c0905edf9241f6db6edea41d4c48af8,e225711bb8bc0009114d6ec0d95ab8d2bb2d68f3,0e0d8297dc8e607b8d70cea4f77300c4faec4a4f,e225711bb8bc0009114d6ec0d95ab8d2bb2d68f3,e225711bb8bc0009114d6ec0d95ab8d2bb2d68f3,e225711bb8bc0009114d6ec0d95ab8d2bb2d68f3..b899947d839d87b03608d1f9bf4b4208cf57aa01
@@@@@@@ -632,9 -632,33 -632,33 -632,33 -632,33 -632,33 +632,9 @@@@@@@ static ssize_t regulator_bypass_show(st
      static DEVICE_ATTR(bypass, 0444,
                   regulator_bypass_show, NULL);
      
 -----/*
 ----- * These are the only attributes are present for all regulators.
 ----- * Other attributes are a function of regulator functionality.
 ----- */
 -----static struct attribute *regulator_dev_attrs[] = {
 -----  &dev_attr_name.attr,
 -----  &dev_attr_num_users.attr,
 -----  &dev_attr_type.attr,
 -----  NULL,
 -----};
 -----ATTRIBUTE_GROUPS(regulator_dev);
 -----
 -----static void regulator_dev_release(struct device *dev)
 -----{
 -----  struct regulator_dev *rdev = dev_get_drvdata(dev);
 -----  kfree(rdev);
 -----}
 -----
 -----static struct class regulator_class = {
 -----  .name = "regulator",
 -----  .dev_release = regulator_dev_release,
 -----  .dev_groups = regulator_dev_groups,
 -----};
 -----
      /* Calculate the new optimum regulator operating mode based on the new total
       * consumer load. All locks held by caller */
-- ---static void drms_uA_update(struct regulator_dev *rdev)
++ +++static int drms_uA_update(struct regulator_dev *rdev)
      {
        struct regulator *sibling;
        int current_uA = 0, output_uV, input_uV, err;