From: Axel Lin Date: Thu, 16 Aug 2012 04:26:02 +0000 (+0800) Subject: regulator: max8907: Fix n_voltages for MAX8907B SD1 X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~106^2^5~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7305608bc888271786e38aa27e63f846367ae842;p=pandora-kernel.git regulator: max8907: Fix n_voltages for MAX8907B SD1 For linear voltage mapping, the n_voltages is (max - min) / step + 1 Signed-off-by: Axel Lin Acked-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed