Index: uspace/lib/c/generic/device/char.c
===================================================================
--- uspace/lib/c/generic/device/char.c	(revision a6765744723a08f140b6d3fa461927d4ecb2f854)
+++ uspace/lib/c/generic/device/char.c	(revision 54de5ebd0d44f6a5120681b2378467fed5914f70)
@@ -82,5 +82,5 @@
 		if (rc == EOK)
 			return (ssize_t) ret;
-			
+		
 		return (ssize_t) rc;
 	}
Index: uspace/lib/c/generic/device/hw_res.c
===================================================================
--- uspace/lib/c/generic/device/hw_res.c	(revision a6765744723a08f140b6d3fa461927d4ecb2f854)
+++ uspace/lib/c/generic/device/hw_res.c	(revision 54de5ebd0d44f6a5120681b2378467fed5914f70)
@@ -41,5 +41,7 @@
 {
 	sysarg_t count = 0;
-	int rc = async_req_1_1(dev_phone, DEV_IFACE_ID(HW_RES_DEV_IFACE), GET_RESOURCE_LIST, &count);
+
+	int rc = async_req_1_1(dev_phone, DEV_IFACE_ID(HW_RES_DEV_IFACE),
+	    GET_RESOURCE_LIST, &count);
 	hw_resources->count = count;
 	if (rc != EOK)
@@ -57,5 +59,5 @@
 		return rc;
 	}
-	 	 
+	
 	return EOK;
 }
@@ -63,5 +65,6 @@
 bool enable_interrupt(int dev_phone)
 {
-	int rc = async_req_1_0(dev_phone, DEV_IFACE_ID(HW_RES_DEV_IFACE), ENABLE_INTERRUPT);
+	int rc = async_req_1_0(dev_phone, DEV_IFACE_ID(HW_RES_DEV_IFACE),
+	    ENABLE_INTERRUPT);
 	return rc == EOK;
 }
Index: uspace/lib/c/include/device/char.h
===================================================================
--- uspace/lib/c/include/device/char.h	(revision a6765744723a08f140b6d3fa461927d4ecb2f854)
+++ uspace/lib/c/include/device/char.h	(revision 54de5ebd0d44f6a5120681b2378467fed5914f70)
@@ -27,5 +27,5 @@
  */
 
- /** @addtogroup libc
+/** @addtogroup libc
  * @{
  */
Index: uspace/lib/c/include/device/hw_res.h
===================================================================
--- uspace/lib/c/include/device/hw_res.h	(revision a6765744723a08f140b6d3fa461927d4ecb2f854)
+++ uspace/lib/c/include/device/hw_res.h	(revision 54de5ebd0d44f6a5120681b2378467fed5914f70)
@@ -27,5 +27,5 @@
  */
  
- /** @addtogroup libc
+/** @addtogroup libc
  * @{
  */
@@ -43,5 +43,5 @@
 typedef enum {
 	GET_RESOURCE_LIST = 0,
-	ENABLE_INTERRUPT	
+	ENABLE_INTERRUPT
 } hw_res_funcs_t;
 
@@ -58,5 +58,4 @@
 } endianness_t;
 
-
 /** HW resource (e.g. interrupt, memory register, i/o register etc.). */
 typedef struct hw_resource {
@@ -65,37 +64,36 @@
 		struct {
 			uint64_t address;
-			endianness_t endianness;			
-			size_t size;			
+			endianness_t endianness;
+			size_t size;
 		} mem_range;
 		struct {
 			uint64_t address;
-			endianness_t endianness;			
-			size_t size;			
+			endianness_t endianness;
+			size_t size;
 		} io_range;
 		struct {
-			int irq;			
-		} interrupt;		
-	} res;	
+			int irq;
+		} interrupt;
+	} res;
 } hw_resource_t;
 
 typedef struct hw_resource_list {
 	size_t count;
-	hw_resource_t *resources;	
+	hw_resource_t *resources;
 } hw_resource_list_t;
 
 static inline void clean_hw_resource_list(hw_resource_list_t *hw_res)
 {
-	if(NULL != hw_res->resources) {
+	if (NULL != hw_res->resources) {
 		free(hw_res->resources);
+
 		hw_res->resources = NULL;
 	}
-	hw_res->count = 0;	
+
+	hw_res->count = 0;
 }
-
-
 
 extern int get_hw_resources(int, hw_resource_list_t *);
 extern bool enable_interrupt(int);
-
 
 #endif
