From: Roger Quadros Date: Thu, 8 Nov 2012 11:07:09 +0000 (+0200) Subject: mfd: omap-usb-tll: Clean up clock handling X-Git-Tag: v3.9-rc1~92^2~1^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bde3e9fee74b668857b1664a70998d02807fb5b;p=pandora-kernel.git mfd: omap-usb-tll: Clean up clock handling Every channel has a functional clock that is similarly named. It makes sense to use a for loop to manage these clocks as OMAPs can come with up to 3 channels. Dynamically allocate and get channel clocks depending on the number of clocks avaiable on the platform. Signed-off-by: Roger Quadros Reviewed-by: Felipe Balbi Acked-by: Russell King --- Reading git-diff-tree failed