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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Sep 2014 23:21:20 +0000 (19:21 -0400)
commit766a53d059d1500c9755c8af017bd411bd8f1b20
treed30f61bd5ea4687f50ef1464797b65744b3004c2
parentc1789a2e66a4209fe5035eca11fdd729b2ffdd82
vgaswitcheroo: add vga_switcheroo_fini_domain_pm_ops

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>
Cc: stable@vger.kernel.org
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/vga/vga_switcheroo.c
include/linux/vga_switcheroo.h