apple_gmux: Fix ACPI video unregister
authorMatthew Garrett <mjg@redhat.com>
Fri, 17 Aug 2012 20:57:20 +0000 (16:57 -0400)
committerMatthew Garrett <mjg@redhat.com>
Fri, 17 Aug 2012 21:34:39 +0000 (17:34 -0400)
commit9f6f955ae4994dd4ad5513a0d959468763a45fa5
tree35cc385e9e515a2b2981490117c30c976b8a0e09
parent96ff705638e3d61b1e45a047c0f9f3bb622fa32f
apple_gmux: Fix ACPI video unregister

We were only calling acpi_video_unregister() if ACPI video support was built
in, not if it was a module.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/apple-gmux.c