Commit 4a19d02e authored by Chris Wilson's avatar Chris Wilson

drm/i915: driver.suspend and .resume are always set

So we can remove the repeated initialisation.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent b8f7ab17
......@@ -700,11 +700,6 @@ static int __init i915_init(void)
driver.driver_features &= ~DRIVER_MODESET;
#endif
if (!(driver.driver_features & DRIVER_MODESET)) {
driver.suspend = i915_suspend;
driver.resume = i915_resume;
}
return drm_init(&driver);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment