Re: [PATCH] regulator: core: Fix default return value for _get()

From: Thierry Reding
Date: Fri Sep 20 2013 - 07:33:16 EST


On Fri, Sep 20, 2013 at 12:24:49PM +0100, Mark Brown wrote:
> From: Mark Brown <broonie@xxxxxxxxxx>
>
> Now that we are defaulting to providing dummy regulators fix the logic
> for substituting a dummy by making the default return code -EPROBE_DEFER.
>
> Reported-by: Thierry Reding <treding@xxxxxxxxxx>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
> ---
>
> Not tested at all.
>
> drivers/regulator/core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: pgp00000.pgp
Description: PGP signature