summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-max77686.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-04-30 03:18:27 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 05:28:21 +0400
commit3e217b660281bbdf2db7e58725a4934b5635cb46 (patch)
treeb9e9d6d2cb27e947d2fe3f56c7b04685b7311d68 /drivers/rtc/rtc-max77686.c
parent51b38c62aa89c8747c350dac2515b8899ff8f4d7 (diff)
downloadlinux-3e217b660281bbdf2db7e58725a4934b5635cb46.tar.xz
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 <jg1.han@samsung.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-max77686.c')
0 files changed, 0 insertions, 0 deletions