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
{
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)
{