From: Axel Lin Date: Sun, 9 Dec 2012 00:05:45 +0000 (+0800) Subject: regulator: anatop: Use linear_min_sel with linear mapping X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~35^2~13^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=985884db501d7026257d122c3cc32a7005a9a864;p=pandora-kernel.git 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 Reviewed-by: Ying-Chun Liu Signed-off-by: Mark Brown --- Reading git-diff-tree failed