1. NAME

regulator_get_voltage_sel_regmap - standard get_voltage_sel for regmap users

2. SYNOPSIS

int regulator_get_voltage_sel_regmap(struct regulator_dev *  rdev );

3. ARGUMENTS

rdev
    regulator to operate on

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 get_voltage_vsel operation, saving some code.

5. AUTHORS

Liam Girdwood <>
    Author.

Mark Brown <>
Wolfson Microelectronics,
    Author.

6. COPYRIGHT