lkml.org 
[lkml]   [2015]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulators: Add missing dummy definition for regulator_list_voltage
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).
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-07-07 15:01    [W:0.041 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site