Index: uspace/lib/c/generic/device/hw_res.c
===================================================================
--- uspace/lib/c/generic/device/hw_res.c	(revision 54de5ebd0d44f6a5120681b2378467fed5914f70)
+++ uspace/lib/c/generic/device/hw_res.c	(revision 0adddea8e047683851e1f1f1906641749c328226)
@@ -26,5 +26,5 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
- 
+
  /** @addtogroup libc
  * @{
@@ -32,5 +32,5 @@
 /** @file
  */
- 
+
 #include <device/hw_res.h>
 #include <errno.h>
@@ -44,4 +44,5 @@
 	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)
@@ -67,9 +68,8 @@
 	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/hw_res.h
===================================================================
--- uspace/lib/c/include/device/hw_res.h	(revision 54de5ebd0d44f6a5120681b2378467fed5914f70)
+++ uspace/lib/c/include/device/hw_res.h	(revision 0adddea8e047683851e1f1f1906641749c328226)
@@ -39,6 +39,5 @@
 #include <bool.h>
 
-// HW resource provider interface
-
+/** HW resource provider interface */
 typedef enum {
 	GET_RESOURCE_LIST = 0,
@@ -46,5 +45,5 @@
 } hw_res_funcs_t;
 
-/** HW resource types. */
+/** HW resource types */
 typedef enum {
 	INTERRUPT,
@@ -58,6 +57,6 @@
 } endianness_t;
 
-/** HW resource (e.g. interrupt, memory register, i/o register etc.). */
-typedef struct hw_resource {
+/** HW resource (e.g. interrupt, memory register, i/o register etc.) */
+typedef struct {
 	hw_res_type_t type;
 	union {
@@ -67,4 +66,5 @@
 			size_t size;
 		} mem_range;
+
 		struct {
 			uint64_t address;
@@ -72,4 +72,5 @@
 			size_t size;
 		} io_range;
+
 		struct {
 			int irq;
@@ -78,5 +79,5 @@
 } hw_resource_t;
 
-typedef struct hw_resource_list {
+typedef struct {
 	size_t count;
 	hw_resource_t *resources;
@@ -85,5 +86,5 @@
 static inline void clean_hw_resource_list(hw_resource_list_t *hw_res)
 {
-	if (NULL != hw_res->resources) {
+	if (hw_res->resources != NULL) {
 		free(hw_res->resources);
 
