diff options
| author | Hannu Heikkinen <[email protected]> | 2012-05-29 22:07:40 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-05-29 23:22:34 +0000 |
| commit | 621bae79f1a250e443eb83d1f473c533bea493dc (patch) | |
| tree | 00bd66ff5b79fec03980a2a8d6c99b2fa8eb649f /net/unix/af_unix.c | |
| parent | drivers/rtc/rtc-pl031.c: remove RTC timer interrupt handling (diff) | |
| download | kernel-621bae79f1a250e443eb83d1f473c533bea493dc.tar.gz kernel-621bae79f1a250e443eb83d1f473c533bea493dc.zip | |
drivers/rtc/rtc-tegra.c: clean up probe/remove routines
Use the devres managed resource functions in the probe routine. Also
affects the remove routine where the previously used free and release
functions are not needed.
The devm_* functions eliminate the need for manual resource releasing and
simplify error handling. Resources allocated by devm_* are freed
automatically on driver detach.
Signed-off-by: Hannu Heikkinen <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
