Merge remote-tracking branches 'regulator/topic/qcom-smd', 'regulator/topic/qcom...
authorMark Brown <broonie@kernel.org>
Sun, 30 Aug 2015 13:40:11 +0000 (14:40 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 30 Aug 2015 13:40:11 +0000 (14:40 +0100)
1  2  3  4  5  6 
drivers/regulator/Kconfig
drivers/regulator/Makefile
include/linux/regulator/consumer.h

Simple merge
@@@@@@@ -59,9 -59,10 -59,9 -59,9 -59,9 -59,9 +59,10 @@@@@@@ obj-$(CONFIG_REGULATOR_MAX77802) += max
      obj-$(CONFIG_REGULATOR_MC13783) += mc13783-regulator.o
      obj-$(CONFIG_REGULATOR_MC13892) += mc13892-regulator.o
      obj-$(CONFIG_REGULATOR_MC13XXX_CORE) +=  mc13xxx-regulator-core.o
 +++++obj-$(CONFIG_REGULATOR_MT6311) += mt6311-regulator.o
      obj-$(CONFIG_REGULATOR_MT6397)    += mt6397-regulator.o
      obj-$(CONFIG_REGULATOR_QCOM_RPM) += qcom_rpm-regulator.o
+ ++++obj-$(CONFIG_REGULATOR_QCOM_SMD_RPM) += qcom_smd-regulator.o
      obj-$(CONFIG_REGULATOR_QCOM_SPMI) += qcom_spmi-regulator.o
      obj-$(CONFIG_REGULATOR_PALMAS) += palmas-regulator.o
      obj-$(CONFIG_REGULATOR_PFUZE100) += pfuze100-regulator.o
@@@@@@@ -550,8 -550,8 -550,8 -550,8 -550,14 -550,18 +550,24 @@@@@@@ static inline int regulator_count_volta
      {
        return 0;
      }
++++ +
++++ +static inline int regulator_list_voltage(struct regulator *regulator, unsigned selector)
++++ +{
++++ +  return -EINVAL;
++++ +}
++++ +
      #endif
      
+++++ static inline int regulator_set_voltage_triplet(struct regulator *regulator,
+++++                                           int min_uV, int target_uV,
+++++                                           int max_uV)
+++++ {
+++++   if (regulator_set_voltage(regulator, target_uV, max_uV) == 0)
+++++           return 0;
+++++ 
+++++   return regulator_set_voltage(regulator, min_uV, max_uV);
+++++ }
+++++ 
      static inline int regulator_set_voltage_tol(struct regulator *regulator,
                                            int new_uV, int tol_uV)
      {