]> git.baikalelectronics.ru Git - kernel.git/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)
commit63b8dea97ffed572e9a85882c4a4ac5314ddd827
treeabd63a1c15e2cf4a222dc1dd2904b628599541a7
parent2b30b79fd93906124e2de8e97403b1148db5af20
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