Fixup sysfs output registration
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>
Wed, 9 Apr 2008 18:30:15 +0000 (11:30 -0700)
committerJesse Barnes <jbarnes@jbarnes-t61.(none)>
Wed, 9 Apr 2008 18:30:15 +0000 (11:30 -0700)
commitfa116081a919e716eb95fcfa421d93f10f6f0a4f
tree01e89a10b30d5c17b494335f815a9c3b8e8818a9
parente3c7a0fcb0122400e5b5035125ad4fa88599f28a
Fixup sysfs output registration

Put off registering new outputs with sysfs until they're properly configured,
or we may get duplicates if the type hasn't been set yet (as is the case with
SDVO initialization).  This also means moving de-registration into the cleanup
function instead of output destroy, since the latter occurs during the normal
course of setup when an output isn't found (and therefore not registered with
sysfs yet.
linux-core/drm_crtc.c
linux-core/drm_sysfs.c
linux-core/intel_crt.c
linux-core/intel_lvds.c
linux-core/intel_sdvo.c
linux-core/intel_tv.c