Re: [PATCH] mmc: sdhci: Conditionalize regulator_get() on CONFIG_REGULATOR

2011-04-30 Thread Chris Ball
Hi Lars, On Sat, Apr 30 2011, Lars-Peter Clausen wrote: On 04/30/2011 06:35 AM, Chris Ball wrote: The regulator subsystem provides stubbed out versions of its calls that are always present (so that they can be used without needing #ifdefs). But the regulator_get() stub always returns an error

[PATCH] mmc: sdhci: Conditionalize regulator_get() on CONFIG_REGULATOR

2011-04-29 Thread Chris Ball
The regulator subsystem provides stubbed out versions of its calls that are always present (so that they can be used without needing #ifdefs). But the regulator_get() stub always returns an error value according to IS_ERR(), which leads sdhci to print messages like mmc0: no vmmc regulator found on