Re: [PATCH] regulators: Add missing dummy definition for regulator_list_voltage

From: Mark Brown
Date: Tue Jul 07 2015 - 08:39:08 EST


On Fri, Jun 26, 2015 at 12:06:50PM +0100, Suzuki K. Poulose wrote:

> +static inline int regulator_list_voltage(struct regulator *regulator, unsigned selector)
> +{
> + return 0;
> +}

I'd expect this stub to return -EINVAL since the voltage count should be
zero for !REGULATOR (since we obviously can't count the number of
voltages).

Attachment: signature.asc
Description: Digital signature