fbdev: fix error return code in metronomefb_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 12 Oct 2013 06:25:23 +0000 (14:25 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 29 Oct 2013 10:20:11 +0000 (12:20 +0200)
commite8ddb0cfa18dfa4d85d6c420c967850d430b07c6
treeb05bd8435aba58619baa3611128410ab8e87099e
parent33826d01d0f7e46eccd670e1ecdae1dff1cebfd2
fbdev: fix error return code in metronomefb_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/metronomefb.c