1. NAME

regulator_set_voltage_sel_regmap - standard set_voltage_sel for regmap users

2. SYNOPSIS

int regulator_set_voltage_sel_regmap(struct regulator_dev *  rdev , unsigned  sel );

3. ARGUMENTS

rdev
    regulator to operate on

sel
    Selector to set

4. DESCRIPTION

Regulators that use regmap for their register I/O can set the vsel_reg and vsel_mask fields in their descriptor and then use this as their set_voltage_vsel operation, saving some code.

5. AUTHORS

Liam Girdwood <>
    Author.

Mark Brown <>
Wolfson Microelectronics,
    Author.

6. COPYRIGHT