From: Roger Quadros Date: Thu, 8 Nov 2012 15:40:25 +0000 (+0200) Subject: mfd: omap-usb-host: cleanup clock management code X-Git-Tag: v3.9-rc1~92^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06ba7dc75fbf1ac731dd3ca08d5f95f552780cb2;p=pandora-kernel.git mfd: omap-usb-host: cleanup clock management code All ports have similarly named port clocks so we can bunch them into a port data structure and use for loop to enable/disable the clocks. Dynamically allocate and get clocks based on number of ports available on the platform Signed-off-by: Roger Quadros Reviewed-by: Felipe Balbi --- Reading git-diff-tree failed