From: Emil Velikov Date: Tue, 30 Jul 2013 00:01:10 +0000 (+0100) Subject: drm/nv50-/disp: use the number of dac, sor, pior rather than hardcoded values X-Git-Tag: v3.12-rc1~136^2~3^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b969fa52ba725adf83761d579a300b1107f84478;p=pandora-kernel.git drm/nv50-/disp: use the number of dac, sor, pior rather than hardcoded values The values are already stored on chipset specific basis in the ctor. Make the most of them and simplify the code further by using a temporary variable to avoid code duplication. Signed-off-by: Emil Velikov Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed