HID: cp2112: use proper hidraw name with minor number
authorJaejoong Kim <climbbb.kim@gmail.com>
Fri, 3 Mar 2017 08:54:00 +0000 (17:54 +0900)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Mar 2017 14:20:39 +0000 (15:20 +0100)
commit42cb6b35b9e6b226c9b762627beec353642ff521
treed33df25c6d92647458fff8817a0b3c2c42f07165
parent9143059fafd4eebed2d43ffb5455178d4010e60a
HID: cp2112: use proper hidraw name with minor number

The cp2112 driver is working on hidraw not hiddev. So we need to use proper
hidraw name with hidraw's minor number.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-cp2112.c