REGULATOR_GET_VOLTAG(9) API reference REGULATOR_GET_VOLTAG(9)NAMEregulator_get_voltage_sel_regmap - standard get_voltage_sel for regmap
users
SYNOPSIS
int regulator_get_voltage_sel_regmap(struct regulator_dev * rdev);
ARGUMENTS
rdev
regulator to operate on
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.
AUTHORS
Liam Girdwood <lrg@slimlogic.co.uk>
Author.
Mark Brown <broonie@opensource.wolfsonmicro.com>
Wolfson Microelectronics,
Author.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 REGULATOR_GET_VOLTAG(9)