diff options
| author | Patrick Mochel <mochel@geena.pdx.osdl.net> | 2002-05-23 21:20:21 -0700 |
|---|---|---|
| committer | Patrick Mochel <mochel@geena.pdx.osdl.net> | 2002-05-23 21:20:21 -0700 |
| commit | 3747eb8489228468dad737eb593289988ac36b62 (patch) | |
| tree | 546b1aa5b0ad5a782d250711007c1af4842ac074 /include/linux/kernel_stat.h | |
| parent | e6d19c6ab5f0f54d15277be9933183050d01ce2c (diff) | |
Device Model: do better cleanup on device removal
- make sure driverfs directory is removed after driver is detached and platform is notified (since they might have added files to it)
- Add release callback to struct device that is to be set by whoever allocated the device (e.g. the bus).
This is the last thing called from put_device, so the owner of it can free the memory for the structure
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions
