From ccfcb1c3cf5616ebd9c61e6c834af3b87fe6b7f7 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Mon, 14 May 2012 10:33:37 +0800 Subject: [PATCH] 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-format-patch failed