Re: [PATCH] regulator: core: Ensure simple linear voltage mappingsfalls within the specified range

From: Mark Brown
Date: Mon May 14 2012 - 04:13:05 EST


On Mon, May 14, 2012 at 10:33:37AM +0800, Axel Lin wrote:
> Integer division may truncate the result.
> Use DIV_ROUND_UP to ensure simple linear voltage mappings falls within the
> specified range.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature