]> 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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 13 Oct 2014 13:41:35 +0000 (15:41 +0200)
commit5509a38bd19bedccb64c1b3418460ad51f24edff
treeb5340dc706281d6dbd2dd8138b7fdccfb8ed8be5
parentfcf9b1a79fc8974f89e5c0244c560fc3c815ae87
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: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/vga/vga_switcheroo.c
include/linux/vga_switcheroo.h