diff options
| author | Ian Abbott <[email protected]> | 2013-11-08 15:03:32 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-11-11 16:16:44 -0800 |
| commit | 5b13ed94a7d24fdc8abbac81e7e4d30ab22c6540 (patch) | |
| tree | 0bfade11593603377f28228a2db2ed13cdaa7b7a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 45c2bc557ca333a2115bb9f812b026b482cca5fa (diff) | |
staging: comedi: add a kref to comedi device
Add a `struct kref refcount` member to `struct comedi_device` to allow
safe destruction of the comedi device. Only free the comedi device via
the 'release' callback `kref_put()`. Currently, nothing calls
`kref_put()`, so the safe destruction is ineffective, but this will be
addressed by later patches.
Signed-off-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions