]> Pileus Git - ~andy/linux/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)
commita547a7ac4c0739fecfcceb837f62a7b67eca49f5
tree2d0051b09b92f43f48f6fed9b6b8f5db326c348a
parent4b80e971a8685ffda26181ba6b8c5de226a39a7c
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