drm/nv50-/disp: use the number of dac, sor, pior rather than hardcoded values
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 30 Jul 2013 00:01:10 +0000 (01:01 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 4 Sep 2013 03:46:22 +0000 (13:46 +1000)
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 <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found