From: Axel Lin Date: Mon, 2 Apr 2012 01:16:08 +0000 (+0800) Subject: regulator: Add missing n_voltages setting for max8925 X-Git-Tag: v3.5-rc1~177^2~58^3~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f52ba7791a35a8e13a3be992fc98da66e68b77d;p=pandora-kernel.git regulator: Add missing n_voltages setting for max8925 The n_voltages are the same for all regulators: (max - min / step) + 1 == 64. The vol_shift is always 0, and the vol_nbits is always the same as n_voltages setting. Thus we can remove vol_shitf and vol_nbits fields from struct max8925_regulator_info. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed