diff options
author | Jesse Barnes <jbarnes@jbarnes-t61.(none)> | 2008-06-05 15:58:43 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-05 15:58:43 -0700 |
commit | 03bf1fba67413f381d2a548fe08bd634a48fcc48 (patch) | |
tree | 703cb4bd2b0b5b134f9848ed84c1f36951843a12 /bsd-core/via_irq.c | |
parent | e90716671d7a5dabf13c22a339f750dba77f438a (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 'bsd-core/via_irq.c')
0 files changed, 0 insertions, 0 deletions