summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorHannu Heikkinen <ext-hannu.m.heikkinen@nokia.com>2012-05-30 02:07:40 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-30 03:22:34 +0400
commit621bae79f1a250e443eb83d1f473c533bea493dc (patch)
tree00bd66ff5b79fec03980a2a8d6c99b2fa8eb649f /sound
parentac2dee5984bc78c8ff1893142f7322320d2baf05 (diff)
downloadlinux-621bae79f1a250e443eb83d1f473c533bea493dc.tar.xz
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 <ext-hannu.m.heikkinen@nokia.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions