diff options
author | Axel Lin <[email protected]> | 2012-12-09 08:05:45 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-12-10 12:38:09 +0900 |
commit | 985884db501d7026257d122c3cc32a7005a9a864 (patch) | |
tree | 96379e7eb17813863a6fefe27a08064f2da841de /fs/jbd2/commit.c | |
parent | 5d6e6ffc400dbc3ea0cc58b8b6f9d9ac748d6572 (diff) |
regulator: anatop: Use linear_min_sel with linear mapping
By setting linear_min_sel to anatop_reg->min_bit_val, we can avoid
adjust the anatop_reg->min_bit_val offset in [set|get]_voltage_sel.
With this chance we can refactor this driver to use
regulator_[get|set]_voltage_sel_regmap.
Signed-off-by: Axel Lin <[email protected]>
Reviewed-by: Ying-Chun Liu <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions