From: Axel Lin Date: Mon, 14 May 2012 02:33:37 +0000 (+0800) Subject: regulator: core: Ensure simple linear voltage mappings falls within the specified... X-Git-Tag: v3.5-rc1~177^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccfcb1c3cf5616ebd9c61e6c834af3b87fe6b7f7;p=pandora-kernel.git regulator: core: Ensure simple linear voltage mappings falls within the specified range Integer division may truncate the result. Use DIV_ROUND_UP to ensure simple linear voltage mappings falls within the specified range. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed