diff options
Diffstat (limited to 'drivers/hid/usbhid/hiddev.c')
-rw-r--r-- | drivers/hid/usbhid/hiddev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c index a9935f6709f7..fb78f75d49a9 100644 --- a/drivers/hid/usbhid/hiddev.c +++ b/drivers/hid/usbhid/hiddev.c | |||
@@ -906,7 +906,7 @@ int hiddev_connect(struct hid_device *hid, unsigned int force) | |||
906 | hiddev->exist = 1; | 906 | hiddev->exist = 1; |
907 | retval = usb_register_dev(usbhid->intf, &hiddev_class); | 907 | retval = usb_register_dev(usbhid->intf, &hiddev_class); |
908 | if (retval) { | 908 | if (retval) { |
909 | err_hid("Not able to get a minor for this device."); | 909 | hid_err(hid, "Not able to get a minor for this device\n"); |
910 | hid->hiddev = NULL; | 910 | hid->hiddev = NULL; |
911 | kfree(hiddev); | 911 | kfree(hiddev); |
912 | return -1; | 912 | return -1; |