From: Laxman Dewangan Date: Mon, 9 Jul 2012 14:57:13 +0000 (+0530) Subject: regulator: tps65910: correct init value of n_voltages X-Git-Tag: v3.6-rc1~157^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7be531883a81d2dc23a79c1a34b4fdb0918f2ca8;p=pandora-kernel.git regulator: tps65910: correct init value of n_voltages Recent change in the core driver to get the maximum voltage is based on the (n_voltages -1) steps of voltage. For the tps65910, the (n_voltages -1)th step voltage is calculated based on the callback function list_voltage. This function direct maps the datasheet and adjust the first few steps for initial voltage as per datasheet, and hence initialize the n_voltages based on datasheet. Signed-off-by: Laxman Dewangan Signed-off-by: Mark Brown --- Reading git-diff-tree failed