1. NAME

regulator_count_voltages - count regulator_list_voltage selectors

2. SYNOPSIS

int regulator_count_voltages(struct regulator *  regulator );

3. ARGUMENTS

regulator
    regulator source

4. DESCRIPTION

Returns number of selectors, or negative errno. Selectors are numbered starting at zero, and typically correspond to bitfields in hardware registers.

5. AUTHORS

Liam Girdwood < >
    Author.

Mark Brown < >
Wolfson Microelectronics,
    Author.

6. COPYRIGHT