From: Axel Lin Date: Fri, 13 Jul 2012 02:12:40 +0000 (+0800) Subject: regulator: s2mps11: Use array to save pointer to rdev X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~106^2^5~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad46ed14cac14073803371f12922e7ee37e98624;p=pandora-kernel.git regulator: s2mps11: Use array to save pointer to rdev The number of regulator is known at compile time, use array to save pointer to rdev makes the code simpler. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed