diff options
| author | Vasiliy Kulikov <[email protected]> | 2010-10-27 15:33:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-27 18:03:06 -0700 |
| commit | 59cca865f21e9e7beab73fcf79ba4eb776a4c228 (patch) | |
| tree | 220a53454207a479af3fa04a9ffcf836811a21f8 /tools/perf/scripts/python/bin | |
| parent | d7c7ef908b6497bb871e2e113e66e8fb0f757543 (diff) | |
drivers/rtc/class.c: fix device_register() error handling
If device_register() fails then call put_device(). See comment to
device_register.
Signed-off-by: Vasiliy Kulikov <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Wan ZongShun <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions