From: Axel Lin Date: Fri, 28 Dec 2012 09:10:20 +0000 (+0800) Subject: regulator: max8998: Use uV in voltage_map_desc X-Git-Tag: v3.8-rc4~20^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf6178ad5552a7f2f742a8c85343c50f080c412;p=pandora-kernel.git regulator: max8998: Use uV in voltage_map_desc Integer division may truncate. This happens when pdata->buckx_voltagex setting is not align with 1000 uV. Thus use uV in voltage_map_desc, this ensures the selected voltage won't less than pdata buckx_voltagex settings. Signed-off-by: Axel Lin Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed