]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-vr41xx.c: fix error return code in rtc_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 7 Jun 2013 00:09:14 +0000 (10:09 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:43:01 +0000 (15:43 +1000)
commit076fd01ce189e7683277747379e3a07fc5156291
treea6c132826eba9045a51b549466ba0164853085db
parent2f5af57c31d9cce94454507e0c7584fb6216410f
drivers/rtc/rtc-vr41xx.c: fix error return code in rtc_probe()

Fix to return -EBUSY in the platform irq get error handling case instead
of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-vr41xx.c