From: Benjamin Tissoires Date: Wed, 25 Feb 2015 16:43:39 +0000 (-0500) Subject: HID: wacom: store the hid_device pointers of the sibling devices X-Git-Tag: omap-for-v4.1/fixes-rc1~163^2~1^11~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a97ac10401fe86fa30ef73315241e31d8594a651;p=pandora-kernel.git HID: wacom: store the hid_device pointers of the sibling devices The Bamboo PAD in debug mode needs to re-route events from the debug interface to the Pen interface. This can be easily done with hid_input_report(), but that means that we need to keep a reference to the various hid_devices. There should be only one touch and one pen interface per physical tablet, so there is no need to keep a list of hid-devices, plain pointers are sufficient. Tested-by: Josep Sanchez Ferreres Signed-off-by: Benjamin Tissoires Acked-by: Ping Cheng Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed