drm/nouveau: Unregister switcheroo client on exit
authorAndreas Heider <andreas@meetr.de>
Sun, 20 May 2012 23:14:51 +0000 (00:14 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 May 2012 06:56:36 +0000 (16:56 +1000)
commit5c5ed6e2cd8b8f944cc7a27fb8a66b695dccf32f
tree9b89f405badd9d4fb26fbdb5e819b39eceed99ae
parent2f3787aa439ae0d34e4658400c1139a7541bec1d
drm/nouveau: Unregister switcheroo client on exit

Currently nouveau only registers as a vga_switcheroo client, but never
unregisters. This patch adds the necessary unregister calls.

Signed-off-by: Andreas Heider <andreas@meetr.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c