The patch titled regulator: don't warn on omitted voltage constraints has been removed from the -mm tree. Its filename was regulator-dont-warn-on-omitted-voltage-constraints.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: regulator: don't warn on omitted voltage constraints From: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Specifying voltage constraints is optional (and only needed if the consumer is allowed to change the voltage) so don't complain unless a voltage has been specified. Also avoid surprises with a dangling else while we're here. Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Cc: Liam Girdwood <lrg@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/regulator/core.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff -puN drivers/regulator/core.c~regulator-dont-warn-on-omitted-voltage-constraints drivers/regulator/core.c --- a/drivers/regulator/core.c~regulator-dont-warn-on-omitted-voltage-constraints +++ a/drivers/regulator/core.c @@ -709,8 +709,12 @@ static int set_machine_constraints(struc cmax = INT_MAX; } + /* voltage constraints are optional */ + if ((cmin == 0) && (cmax == 0)) + goto out; + /* else require explicit machine-level constraints */ - else if (cmin <= 0 || cmax <= 0 || cmax < cmin) { + if (cmin <= 0 || cmax <= 0 || cmax < cmin) { pr_err("%s: %s '%s' voltage constraints\n", __func__, "invalid", name); ret = -EINVAL; _ Patches currently in -mm which might be from broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx are mfd-add-support-for-wm8351-revision-b.patch linux-next.patch input-add-wm97xx-accelerated-driver-for-avr32-at32ap700x-microprocessors.patch mfd-use-the-value-of-the-final-spin-when-reading-the-auxadc.patch rtc-convert-wm8350-use-new-alarm-and-update-operations.patch rtc-wm8350-retries-will-reach-1.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html