From: Kevin Hilman Date: Mon, 21 Mar 2011 21:08:55 +0000 (-0700) Subject: OMAP2+: voltage: split voltage controller (VC) code into dedicated layer X-Git-Tag: v3.2-rc1~95^2^2~1^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccd5ca7787df8f1bd267b90f03a09c31c160ffe2;p=pandora-kernel.git OMAP2+: voltage: split voltage controller (VC) code into dedicated layer As part of the voltage layer cleanup, split out VC specific code into a dedicated VC layer. This patch primarily just moves VC code from voltage.c into vc.c, and adds prototypes to vc.h. No functional changes. For readability, each function was given a local 'vc' pointer: struct omap_vc_instance_data *vc = voltdm->vdd->vc_data; and a global replace of s/vdd->vc_data/vc/ was done. Also vc_init was renamed to vc_init_channel to reflect that this is per-VC channel initializtion. Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed