diff options
| author | Dmitry Torokhov <[email protected]> | 2015-07-20 16:02:51 -0700 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2015-09-05 13:19:07 +0200 |
| commit | 1e4cd62558c293bc51cc179d676b708683a29c12 (patch) | |
| tree | ecb6dc749be74b387877b177fa74cf03569197d4 /tools/perf/scripts/python/netdev-times.py | |
| parent | c3b399a4b6703a04ef6eb3efe35ff12163e409e0 (diff) | |
rtc: dev: properly manage lifetime of dev and cdev in rtc device
struct rtc embeds both struct dev and struct cdev. Unfortunately character
device structure may outlive the parent rtc structure unless we set it up
as parent of character device so that it will stay pinned until character
device is freed.
Signed-off-by: Dmitry Torokhov <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions