]> 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>
Thu, 27 Jun 2013 23:53:25 +0000 (09:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:40 +0000 (16:38 +1000)
commit0af5455a7a067cba753c186b5f7749060f5d6b0f
treedc95b055b2e1f0c8c1778bbf0909fee66a9186b2
parentedcc5cab4889d5695483069cf48f5497965e5418
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