Pan Bian c60fa555b1 HID: usbhid: fix improper return value
Function hid_post_reset() should return negative error codes on failures.
However, in its implementation, it incorrectly returns 1.  This patch fixes the
bug, returning proper error codes on failures.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2016-12-09 13:46:29 +01:00
..
2015-03-27 16:03:26 +01:00
2012-06-25 17:25:00 +02:00
2015-01-21 22:23:20 +01:00
2015-12-28 13:13:20 +01:00
2012-04-25 14:48:20 -07:00