vga_switcheroo: Don't require handler init callback
authorSeth Forshee <seth.forshee@canonical.com>
Fri, 17 Aug 2012 16:17:02 +0000 (11:17 -0500)
committerMatthew Garrett <mjg@redhat.com>
Fri, 17 Aug 2012 21:34:41 +0000 (17:34 -0400)
commite99eac5e4ea3bd8671bb1cedad10c3fec90ec0de
tree57349142cbcc796ef2ff758e5cf2b42f15103835
parent36704c0c4c64f889d77158d497f6a7e596d1341c
vga_switcheroo: Don't require handler init callback

This callback is a no-op in nouveau, and the upcoming apple-gmux
switcheroo support won't require it either. Rather than forcing drivers
to stub it out, just make it optional and remove the callback from
nouveau.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/gpu/drm/nouveau/nouveau_acpi.c
drivers/gpu/vga/vga_switcheroo.c