summaryrefslogtreecommitdiff
path: root/linux-core/drm_os_linux.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>2008-06-05 15:58:43 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-05 15:58:43 -0700
commit03bf1fba67413f381d2a548fe08bd634a48fcc48 (patch)
tree703cb4bd2b0b5b134f9848ed84c1f36951843a12 /linux-core/drm_os_linux.h
parente90716671d7a5dabf13c22a339f750dba77f438a (diff)
sysfs registration/teardown fixups
A check in drm_sysfs_connector_remove was supposed to allow it to be called even with unregistered objects, to make cleanup paths a little simpler. However, device_is_regsitered didn't always seem to return what we thought it would, so we'd sometimes end up leaving objects lying around rather than unregistering them. Fix this situation up by requiring devices to be registered before being removed. Any problems resulting from this change should be easier to track down than the alternative (which is leaving kobjects registered after unload).
Diffstat (limited to 'linux-core/drm_os_linux.h')
0 files changed, 0 insertions, 0 deletions