staging: xillybus: Improved error handling
authorEli Billauer <eli.billauer@gmail.com>
Thu, 4 Sep 2014 14:47:45 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:58:19 +0000 (13:58 -0700)
commit9ac77ec61f943952019543c37848c0c9a97add15
tree8e805bac85003516db900e0eab249044447a9eba
parent31ca128d555d35e8bc53e6a3afce09f4c72b372b
staging: xillybus: Improved error handling

xilly_scan_idt() now returns an error status code, rather than being a void
function and hint the status through an entry in a data structure.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c