staging/winbond: use err and remove nr
authorDevendra Naga <devendra.aaru@gmail.com>
Sat, 14 Jul 2012 07:40:37 +0000 (13:25 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 02:21:37 +0000 (19:21 -0700)
commit6594ac5dead7ad7cd10103d147eda3190fd49cad
tree010d1d0684d58599669d818eb1044dbea3ebfbe8
parent2390e83439f533cf2eaf506087e4efb6cf92d91f
staging/winbond: use err and remove nr

err can be used get return status of the  usb_control_msg, rather using
nr and assigning it to err when the function returns error.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/winbond/wbusb.c