Re: [PATCH 1/2] regulators: Add definition of regulator_set_voltage_time() for !CONFIG_REGULATOR
From: Mark Brown
Date: Wed May 28 2014 - 13:39:17 EST
On Wed, May 28, 2014 at 09:59:37PM +0530, Viresh Kumar wrote:
> On 28 May 2014 00:59, Mark Brown <broonie@xxxxxxxxxx> 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:
signature.asc
Description: Digital signature