Index: uspace/lib/usbdev/src/altiface.c
===================================================================
--- uspace/lib/usbdev/src/altiface.c	(revision 4291215b8cf3045e4106151a70b74f21b175018d)
+++ uspace/lib/usbdev/src/altiface.c	(revision 1038a9ca3ddebaa67ddd98d4752bccba035adcbf)
@@ -33,4 +33,5 @@
  * Handling alternate interface settings.
  */
+
 #include <usb/dev/driver.h>
 #include <usb/dev/request.h>
Index: uspace/lib/usbdev/src/hub.c
===================================================================
--- uspace/lib/usbdev/src/hub.c	(revision 4291215b8cf3045e4106151a70b74f21b175018d)
+++ uspace/lib/usbdev/src/hub.c	(revision 1038a9ca3ddebaa67ddd98d4752bccba035adcbf)
@@ -33,4 +33,5 @@
  * Functions needed by hub drivers.
  */
+
 #include <usb/dev/hub.h>
 #include <usb/dev/pipes.h>
@@ -114,5 +115,4 @@
 	return EOK;
 }
-
 
 /** Wrapper for registering attached device to the hub.
@@ -160,5 +160,5 @@
     ddf_dev_ops_t *dev_ops, void *new_dev_data, ddf_fun_t **new_fun)
 {
-	if (new_fun == NULL || hc_conn == NULL)
+	if ((new_fun == NULL) || (hc_conn == NULL))
 		return EINVAL;
 
Index: uspace/lib/usbdev/src/recognise.c
===================================================================
--- uspace/lib/usbdev/src/recognise.c	(revision 4291215b8cf3045e4106151a70b74f21b175018d)
+++ uspace/lib/usbdev/src/recognise.c	(revision 1038a9ca3ddebaa67ddd98d4752bccba035adcbf)
@@ -33,4 +33,5 @@
  * Functions for recognition of attached devices.
  */
+
 #include <sys/types.h>
 #include <fibril_synch.h>
@@ -311,4 +312,5 @@
  *	will be written.
  * @return Error code.
+ *
  */
 int usb_device_register_child_in_devman(usb_pipe_t *ctrl_pipe,
@@ -318,23 +320,23 @@
 	if (child_fun == NULL || ctrl_pipe == NULL)
 		return EINVAL;
-
+	
 	if (!dev_ops && dev_data) {
 		usb_log_warning("Using standard fun ops with arbitrary "
 		    "driver data. This does not have to work.\n");
 	}
-
+	
 	/** Index to append after device name for uniqueness. */
 	static atomic_t device_name_index = {0};
 	const size_t this_device_name_index =
 	    (size_t) atomic_preinc(&device_name_index);
-
+	
 	ddf_fun_t *child = NULL;
 	int rc;
-
+	
 	/*
 	 * TODO: Once the device driver framework support persistent
 	 * naming etc., something more descriptive could be created.
 	 */
-	char child_name[12]; /* The format is: "usbAB_aXYZ", length 11 */
+	char child_name[12];  /* The format is: "usbAB_aXYZ", length 11 */
 	rc = snprintf(child_name, sizeof(child_name),
 	    "usb%02zu_a%d", this_device_name_index, ctrl_pipe->wire->address);
@@ -342,5 +344,5 @@
 		goto failure;
 	}
-
+	
 	child = ddf_fun_create(parent, fun_inner, child_name);
 	if (child == NULL) {
@@ -348,14 +350,15 @@
 		goto failure;
 	}
-
-	if (dev_ops != NULL) {
+	
+	if (dev_ops != NULL)
 		child->ops = dev_ops;
-	} else {
+	else
 		child->ops = &child_ops;
-	}
-
+	
 	child->driver_data = dev_data;
-	/* Store the attached device in fun driver data if there is no
-	 * other data */
+	/*
+	 * Store the attached device in fun
+	 * driver data if there is no other data
+	 */
 	if (!dev_data) {
 		usb_hub_attached_device_t *new_device = ddf_fun_data_alloc(
@@ -365,36 +368,33 @@
 			goto failure;
 		}
+		
 		new_device->address = ctrl_pipe->wire->address;
 		new_device->fun = child;
 	}
-
-
+	
 	rc = usb_device_create_match_ids(ctrl_pipe, &child->match_ids);
-	if (rc != EOK) {
+	if (rc != EOK)
 		goto failure;
-	}
-
+	
 	rc = ddf_fun_bind(child);
-	if (rc != EOK) {
+	if (rc != EOK)
 		goto failure;
-	}
-
+	
 	*child_fun = child;
 	return EOK;
-
+	
 failure:
 	if (child != NULL) {
 		/* We know nothing about the data if it came from outside. */
-		if (dev_data) {
+		if (dev_data)
 			child->driver_data = NULL;
-		}
+		
 		/* This takes care of match_id deallocation as well. */
 		ddf_fun_destroy(child);
 	}
-
+	
 	return rc;
 }
 
-
 /**
  * @}
