HID: i2c-hid: fix return paths
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Tue, 4 Dec 2012 15:27:48 +0000 (16:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 Dec 2012 10:04:28 +0000 (11:04 +0100)
commit317b204a131c36df564bd71214e9e18348a084c9
treede65150b058c4b84e72952e5a7d82671cd9b1bf2
parent6bf6c8bf2ba6548c38eeaccb735992660c4bbaeb
HID: i2c-hid: fix return paths

Forwards appropriate return values.
As noone use the error returned by i2c_hid_get_input, let's make it
returning void.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c