]> 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)
commitd8c6afc761b05ce5505b33916f3115bd98e8448c
tree8239fcf899e18216f43ae9efeecde395a8bf7c00
parent479e5269457fc78bff3e9ca54e5b83a00d3b1dee
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