From: Benjamin Tissoires Date: Tue, 30 Sep 2014 17:18:25 +0000 (-0400) Subject: HID: logitech-dj: rely on hid groups to separate receivers from dj devices X-Git-Tag: omap-for-v3.19/fixes-rc1~112^2^5~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d610274b0301e5ef35811fa736036d022f707564;p=pandora-kernel.git HID: logitech-dj: rely on hid groups to separate receivers from dj devices Several benefits here: - we can drop the macro is_dj_device: I never been really conviced by this macro as we could fall into a null pointer anytime. Anyway time showed that this never happened. - we can simplify the hid driver logitech-djdevice, and make it aware of any new receiver VID/PID. - we can use the Wireless PID of the DJ device as the product id of the hid device, this way the sysfs will differentiate between different DJ devices. Signed-off-by: Benjamin Tisssoires Tested-by: Andrew de los Reyes Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed