Changes in uspace/drv/hid/usbhid/blink1/blink1.c [53b9f2c:a1732929] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/blink1/blink1.c
r53b9f2c ra1732929 64 64 usb_blink1_t *blink1_dev = (usb_blink1_t *) ddf_fun_data_get(fun); 65 65 if (blink1_dev == NULL) { 66 usb_log_debug("Missing parameters. \n");66 usb_log_debug("Missing parameters."); 67 67 return EINVAL; 68 68 } … … 105 105 fun_exposed, HID_BLINK1_FUN_NAME); 106 106 if (fun == NULL) { 107 usb_log_error("Could not create DDF function node `%s'. \n",107 usb_log_error("Could not create DDF function node `%s'.", 108 108 HID_BLINK1_FUN_NAME); 109 109 return ENOMEM; … … 123 123 int rc = ddf_fun_bind(fun); 124 124 if (rc != EOK) { 125 usb_log_error("Could not bind DDF function `%s': %s. \n",125 usb_log_error("Could not bind DDF function `%s': %s.", 126 126 ddf_fun_get_name(fun), str_error(rc)); 127 127 ddf_fun_destroy(fun); … … 131 131 rc = ddf_fun_add_to_category(fun, HID_BLINK1_CATEGORY); 132 132 if (rc != EOK) { 133 usb_log_error("Could not add DDF function to category %s: %s. \n",133 usb_log_error("Could not add DDF function to category %s: %s.", 134 134 HID_BLINK1_CATEGORY, str_error(rc)); 135 135
Note:
See TracChangeset
for help on using the changeset viewer.