drm/i915: Unregister ACPI video driver when exiting
authorMatthew Garrett <mjg59@srcf.ucam.org>
Wed, 1 Apr 2009 18:52:29 +0000 (19:52 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 17 Apr 2009 20:31:07 +0000 (13:31 -0700)
commit3b1c1c1118880921da1188b7245e0470742802f8
tree5802350a461aa87519f7a5ce8e1db431be8ec52f
parentd770e3cfe5a274a343d896b2cc1646af85646fbc
drm/i915: Unregister ACPI video driver when exiting

The i915 DRM triggers registration of the ACPI video driver on load. It
should unregister it at unload in order to avoid generating backtraces on
being reloaded.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/acpi/video.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_opregion.c
include/acpi/video.h