]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: fix return value for visorbus pci probe
authorBenjamin Romer <benjamin.romer@unisys.com>
Tue, 23 Feb 2016 15:01:49 +0000 (10:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2016 06:40:52 +0000 (22:40 -0800)
commit928759f1454f5a9c48a205dfb0833d5c3a2bbade
tree8239fcf899e18216f43ae9efeecde395a8bf7c00
parent27297f53f24140ce3b57babb04f1e7c2604649c4
staging: unisys: fix return value for visorbus pci probe

Instead of returning -1, return -ENODEV when there is no probe function
found for the device.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c