]> git.baikalelectronics.ru Git - kernel.git/commit
staging: tidspbridge: fix error return code in omap34_xx_bridge_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 7 Jun 2013 02:14:27 +0000 (10:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Jun 2013 05:12:05 +0000 (22:12 -0700)
commit6efccbd343705c530ce5bd3e7bf513e85a6245fc
tree2d0051b09b92f43f48f6fed9b6b8f5db326c348a
parent1a27e3dd758a1e821b987790f258e97b5eca75fa
staging: tidspbridge: fix error return code in omap34_xx_bridge_probe()

Fix to return a negative error code in the class_create() 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/tidspbridge/rmgr/drv_interface.c