drm: fix leak of device mappings since multi-master changes.
authorDave Airlie <airlied@redhat.com>
Mon, 19 Jan 2009 07:17:58 +0000 (17:17 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Jan 2009 07:17:58 +0000 (17:17 +1000)
Device maps now contain a link to the master that created them, so
when cleaning up the master, remove any maps that are connected to it.
Also delete any remaining maps at driver unload time.

Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found