diff options
| author | Jingoo Han <[email protected]> | 2013-04-29 16:18:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-29 18:28:21 -0700 |
| commit | 3e217b660281bbdf2db7e58725a4934b5635cb46 (patch) | |
| tree | b9e9d6d2cb27e947d2fe3f56c7b04685b7311d68 /tools/perf/scripts/python/bin | |
| parent | 51b38c62aa89c8747c350dac2515b8899ff8f4d7 (diff) | |
rtc: add devm_rtc_device_{register,unregister}()
These functions allow the driver core to automatically clean up any
allocation made by rtc drivers. Thus it simplifies the error paths.
Signed-off-by: Jingoo Han <[email protected]>
Acked-by: Tejun Heo <[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