From: Benjamin Tissoires Date: Mon, 3 Nov 2014 21:09:59 +0000 (-0500) Subject: HID: logitech-hidpp: 2 fixes in hidpp_root_get_protocol_version() X-Git-Tag: omap-for-v3.19/fixes-rc1~112^2^5~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=552f12eb68440a0328dc9929066f6d0321a75874;p=pandora-kernel.git HID: logitech-hidpp: 2 fixes in hidpp_root_get_protocol_version() - remove the constant '1' - when the device is not connected, the protocol error HIDPP_ERROR_RESOURCE_ERROR is raised. We should not warn the user about it because it is somewhat expected as an answer when we check if the device is connected. Signed-off-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed