From: Daniel Vetter Date: Thu, 12 Jul 2012 18:19:59 +0000 (+0200) Subject: drm/i915: add port parameter to intel_hdmi_init X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~61^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08d644add0e5f799a47dbe7849401606c522e59e;p=pandora-kernel.git drm/i915: add port parameter to intel_hdmi_init Instead of having a giant if cascade to figure this out according to the passed-in register. We could do quite a bit more cleaning up and all by using the port at more places, but I think this should be part of a bigger rework to introduce a struct intel_digital_port which would keep track of all these things. I guess this will be part of some haswell-DP-induced refactoring. For now this rips out the big cascade, which is what annoyed me so much. v2: Add port variable name back for the func decl (I've tried to trick myself below the 80 char limit). Reviewed-by: Paulo Zanoni Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed