]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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 20:41:09 +0000 (13:41 -0700)
commit4659be275b14d7d865573b9d82c8afdb23f875aa
tree7c387bc715e5a0dc0e847585071ce4816d29d20d
parent4e3a0d9d0f7497e89870989d7dd94370d585c3f0
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