vgaswitcheroo: add vga_switcheroo_fini_domain_pm_ops
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Sep 2014 21:51:29 +0000 (17:51 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 21:52:22 +0000 (14:52 -0700)
commitf7b47e107ddc21e37c925c5ebe4df61cdc6e265b
tree639659e8eff00cb87685023504adb040abd78863
parent77eeda2a01c46598857a5f128ed1e0158ec6e6c4
vgaswitcheroo: add vga_switcheroo_fini_domain_pm_ops

commit 766a53d059d1500c9755c8af017bd411bd8f1b20 upstream.

Drivers should call this on unload to unregister pmops.

Bug:
https://bugzilla.kernel.org/show_bug.cgi?id=84431

Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/vga/vga_switcheroo.c
include/linux/vga_switcheroo.h