drivers/rtc/rtc-s3c.c: fix return value in s3c_rtc_probe()
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 5 Oct 2012 00:14:14 +0000 (17:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:04 +0000 (03:05 +0900)
commit1ee8c0ca2a6aef9af4b78f860cc690f33fc8f287
treece6f8e0782378ab79269b8761e36f27f17902825
parent4c24e29e65843ed912c14cdc293ed922e33efdcc
drivers/rtc/rtc-s3c.c: fix return value in s3c_rtc_probe()

Return the value returned by platform_get_irq() instead of -ENOENT;

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.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>
drivers/rtc/rtc-s3c.c