]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:26:49 +0000 (17:26 -0400)
commiteb65a1e6b0922653634778c877a616f1494c8ebf
treeba4b12b0fd4932845188a6bd48e6e3d5e2a706e6
parent1a15731088ad6b7c96ca3334aebe40b02135bba5
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