diff options
author | Emil Velikov <[email protected]> | 2013-07-30 01:01:10 +0100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2013-09-04 13:46:22 +1000 |
commit | b969fa52ba725adf83761d579a300b1107f84478 (patch) | |
tree | 65159d9ca445a0a003cd6d6efce666cc04f3a880 /lib/memory-notifier-error-inject.c | |
parent | c98b81946827fe04c36bfa6bb376ffa739b0c2d0 (diff) |
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 <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions