]> git.baikalelectronics.ru Git - kernel.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:34:41 +0000 (17:34 -0400)
commite18d34183f96baf5701df218eba5ecc832998d5c
tree57349142cbcc796ef2ff758e5cf2b42f15103835
parent84572e3267f77d4bd32f81f840128c72946728aa
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