Re: [PATCH 1/2] regulators: Add definition of regulator_set_voltage_time() for !CONFIG_REGULATOR

From: Viresh Kumar
Date: Mon Jun 02 2014 - 05:54:13 EST


On 2 June 2014 15:21, Mark Brown <broonie@xxxxxxxxxx> wrote:
> When you say they check for a valid regulator how are they doing that?
> The stub will come into play if there isn't a dependency on REGULATOR.

I meant they fail and quit if regulator_get() failed and so the first parameter
to regulator_set_voltage() is guaranteed to be valid.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/