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

Mark Brown
2014-05-28T17:39:13Z

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

On Wed, May 28, 2014 at 09:59:37PM +0530, Viresh Kumar wrote:
> On 28 May 2014 00:59, Mark Brown <broonie@kernel.org> wrote:

> > Hrm, I'd have expected this to return -EINVAL when stubbed. I'd also
> > have expected regulator_set_voltage() to return -EINVAL mind you. I

> Or ENOSYS ? I will fix both routines once you confirm..

Whatever - I don't think the particular code makes any practical
difference. We would need to audit existing users who don't have a
REGULATOR dependency for breakage though.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]