Index: uspace/lib/usbhid/src/hidparser.c
===================================================================
--- uspace/lib/usbhid/src/hidparser.c	(revision feeac0d8cd6e0ce736779bc5f1dc701c5cf42ba6)
+++ uspace/lib/usbhid/src/hidparser.c	(revision e5556e4a11175054df13aab078fc6d3c831cc8c2)
@@ -132,5 +132,5 @@
 	usb_hid_report_description_t *report_des;
 	usb_hid_report_type_t type = USB_HID_REPORT_TYPE_INPUT;
-
+	
 	if (report == NULL) {
 		return EINVAL;
@@ -155,10 +155,10 @@
 
 		if (USB_HID_ITEM_FLAG_CONSTANT(item->item_flags) == 0) {
-
+			
 			if (USB_HID_ITEM_FLAG_VARIABLE(item->item_flags) == 0) {
 				/* array */
 				item->value = 
 					usb_hid_translate_data(item, data);
-
+				
 				item->usage = USB_HID_EXTENDED_USAGE(
 				    item->usages[item->value -
@@ -185,5 +185,5 @@
 		}
 	}
-
+	
 	return EOK;
 }
@@ -340,5 +340,5 @@
 	int length;
 	int32_t tmp_value;
-
+	
 	if (report == NULL) {
 		return EINVAL;
@@ -352,5 +352,5 @@
 	report_des = usb_hid_report_find_description(report, report_id, 
 	    USB_HID_REPORT_TYPE_OUTPUT);
-
+	
 	if (report_des == NULL) {
 		return EINVAL;
@@ -364,5 +364,5 @@
 		offset = report_des->bit_length - report_item->offset - 1;
 		length = report_item->size;
-
+		
 		usb_log_debug("\ttranslated value: %x\n", value);
 
@@ -375,5 +375,5 @@
 			value = value << shift;
 			value = value & (((1 << length) - 1) << shift);
-
+			
 			uint8_t mask = 0;
 			mask = 0xff - (((1 << length) - 1) << shift);
@@ -391,5 +391,5 @@
 
 					tmp_value = tmp_value << (offset % 8);
-
+					
 					mask = ~(((1 << (8 - (offset % 8))) - 1)
 					    << (offset % 8));
@@ -398,5 +398,5 @@
 					    tmp_value;
 				} else if (i == ((offset + length - 1) / 8)) {
-
+					
 					value = value >> (length - 
 					    ((offset + length) % 8));
@@ -404,5 +404,5 @@
 					value = value & ((1 << (length - 
 					    ((offset + length) % 8))) - 1);
-
+					
 					mask = (1 << (length - 
 					    ((offset + length) % 8))) - 1;
@@ -418,5 +418,5 @@
 		report_item->value = 0;
 	}
-
+	
 	return EOK;
 }
Index: uspace/lib/usbhid/src/hidpath.c
===================================================================
--- uspace/lib/usbhid/src/hidpath.c	(revision feeac0d8cd6e0ce736779bc5f1dc701c5cf42ba6)
+++ uspace/lib/usbhid/src/hidpath.c	(revision e5556e4a11175054df13aab078fc6d3c831cc8c2)
@@ -237,14 +237,11 @@
 		    usb_hid_report_usage_path_t, report_item) {
 
-			if(USB_HID_SAME_USAGE_PAGE(report_item->usage_page,
-				path_item->usage_page)){
-
-				if(only_page == 0){
-					if(USB_HID_SAME_USAGE(
-						report_item->usage,
-						path_item->usage)) {
-
+			if (USB_HID_SAME_USAGE_PAGE(report_item->usage_page,
+				path_item->usage_page)) {
+				
+				if (only_page == 0) {
+					if (USB_HID_SAME_USAGE(report_item->usage,
+					    path_item->usage))
 						return EOK;
-					}
 				}
 				else {
@@ -268,19 +265,18 @@
 		report_link = report_path->items.head.next;
 		path_link = path->items.head.next;
-
-		while((report_link != &report_path->items.head) && 
-		      (path_link != &path->items.head)) {
-
+		
+		while ((report_link != &report_path->items.head) &&
+		    (path_link != &path->items.head)) {
+			
 			report_item = list_get_instance(report_link, 
-				usb_hid_report_usage_path_t, rpath_items_link);
-
+			    usb_hid_report_usage_path_t, rpath_items_link);
+			
 			path_item = list_get_instance(path_link,
        				usb_hid_report_usage_path_t, rpath_items_link);
 
-			if(!USB_HID_SAME_USAGE_PAGE(report_item->usage_page, 
-				path_item->usage_page) || ((only_page == 0) && 
+			if (!USB_HID_SAME_USAGE_PAGE(report_item->usage_page, 
+			    path_item->usage_page) || ((only_page == 0) && 
 			    !USB_HID_SAME_USAGE(report_item->usage, 
-				path_item->usage))) {
-
+			    path_item->usage))) {
 				return 1;
 			} else {
@@ -290,14 +286,12 @@
 		}
 
-		if((((flags & USB_HID_PATH_COMPARE_BEGIN) != 0) && 
-			(path_link == &path->items.head)) || 
-		   ((report_link == &report_path->items.head) && 
-			(path_link == &path->items.head))) {
-
+		if ((((flags & USB_HID_PATH_COMPARE_BEGIN) != 0) && 
+		    (path_link == &path->items.head)) || 
+		    ((report_link == &report_path->items.head) && 
+		    (path_link == &path->items.head))) {
 			return EOK;
-		}
-		else {
+		} else {
 			return 1;
-		}						
+		}
 		break;
 
