From: Ville Syrjälä Date: Thu, 23 Jan 2014 21:15:34 +0000 (+0200) Subject: drm/i915: Convert DIP port switch cases to a simple macro X-Git-Tag: v3.15-rc1~51^2~59^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=822cdc52936e026a24c684ccc98850b251c06206;p=pandora-kernel.git drm/i915: Convert DIP port switch cases to a simple macro We have a couple of switch cases to compute the port value for the VIDEO_DIP_CTL register. Replace them with a simple macro. We do lose a few BUG() calls, but many people may consider that an improvement. Signed-off-by: Ville Syrjälä Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed