1. NAME

regulator_list_voltage_linear - List voltages with simple calculation

2. SYNOPSIS

int regulator_list_voltage_linear(struct regulator_dev *  rdev , unsigned int  selector );

3. ARGUMENTS

rdev
    Regulator device

selector
    Selector to convert into a voltage

4. DESCRIPTION

Regulators with a simple linear mapping between voltages and selectors can set min_uV and uV_step in the regulator descriptor and then use this function as their list_voltage operation,

5. AUTHORS

Liam Girdwood < >
    Author.

Mark Brown < >
Wolfson Microelectronics,
    Author.

6. COPYRIGHT