]> Pileus Git - ~andy/linux/commit
neofb: fix error return code in neofb_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 23 Sep 2013 15:00:34 +0000 (23:00 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 08:45:16 +0000 (11:45 +0300)
commit8c42cf75490a90f6016a027765a4f053d7ba2f37
treeabd63a1c15e2cf4a222dc1dd2904b628599541a7
parenta2a6fc5f182fdb179a4f5262ee77c2c2684fe0cd
neofb: fix error return code in neofb_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>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/neofb.c