mmc: sh_mobile_sdhi: fix error return code in sh_mobile_sdhi_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 28 May 2013 05:26:50 +0000 (13:26 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 14:57:29 +0000 (10:57 -0400)
commit7913ae7d10d82bf9d9af6be6c20281fceb695ec0
treede770895c83a86634a4c162b32a5bd6ddd7b9132
parent5a0e8074660444010fee40eebcd57aaaf8d44662
mmc: sh_mobile_sdhi: fix error return code in sh_mobile_sdhi_probe()

Fix to return a negative error code instead of 0 when we cannot get
IRQ source by platform_get_irq(), as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c