commit | 112abd291db7d47974f166e742104d761bc76977 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu May 31 14:57:43 2012 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Jun 01 10:00:57 2012 +0200 |
tree | 15cf49d49d88eff4791c2261b9cebd757cfcd195 | |
parent | 98fd81cd64674545a30a4f95388f086a626d37d2 [diff] |
drm/i915: simplify sysfs setup code Positively checking for the required feature/gen is simpler than build a cascade of negative "we need to bail" checks. And the later won't scale if we add more stuff that doesn't fit in nicely. Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>