From: Axel Lin Date: Thu, 8 Mar 2012 23:05:41 +0000 (+0800) Subject: regulator: Use array to store dcdc_range settings for tps65912 X-Git-Tag: v3.4-rc1~168^2~4^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85c5d86d0e87bd843d711dcb7427c6ba64f736d1;p=pandora-kernel.git regulator: Use array to store dcdc_range settings for tps65912 Then we can use the regulator id as array index to access the array. This change makes the code simpler. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed