summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-dev.c
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-12-17 16:02:48 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:21 -0800
commit1b99732932e1e398ec84baf6024afa23f5388716 (patch)
tree73e73ea634f1527e1c5165e474cf02d628dca191 /drivers/rtc/rtc-dev.c
parent076c7265488cc4016c6502f3f9d8dbf1e97fd147 (diff)
downloadop-kernel-dev-1b99732932e1e398ec84baf6024afa23f5388716.zip
op-kernel-dev-1b99732932e1e398ec84baf6024afa23f5388716.tar.gz
drivers/rtc/rtc-s3c.c: convert to use devm_* API
rtc-s3c driver is modified to use devm_request_and_ioremap() (combining request_mem_region and ioremap), devm_clk_get() and devm_request_irq() APIs. Since this removes the necessity of freeing the related resources the return path is also simplified. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud