diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-09-07 14:34:51 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-09-07 19:03:55 +0400 |
commit | 192264e0a5473015df28f47241bcdbf6b8c24873 (patch) | |
tree | 9577ae2333b67c39a787ec583f0817ba5b217c1e /include/linux/regulator | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | linux-192264e0a5473015df28f47241bcdbf6b8c24873.tar.xz |
regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator
The max_uV is not used, so remove it from struct as3711_regulator_info.
Current code is using devm_regulator_register(), so we don't need to store *rdev
in struct as3711_regulator for clean up.
Also clean up AS3711_REG macro to remove _vshift, _min_uV and _max_uV arguments.
_vshift is always 0, so remove it.
_min_uV and _max_uV are not required, all required settings are set in
REGULATOR_LINEAR_RANGE macro.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions