input: Fix trailing whitspaces and indent.

Just some cosmetics to conform to the wayland coding style.

Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
diff --git a/src/input.c b/src/input.c
index 9c30460..fb5bfee 100644
--- a/src/input.c
+++ b/src/input.c
@@ -238,7 +238,7 @@
 
 	if (!surface->resource)
 		return NULL;
-	
+
 	return wl_resource_find_for_client(list, wl_resource_get_client(surface->resource));
 }
 
@@ -344,7 +344,7 @@
 
 	keyboard = zalloc(sizeof *keyboard);
 	if (keyboard == NULL)
-	    return NULL;
+		return NULL;
 
 	wl_list_init(&keyboard->resource_list);
 	wl_array_init(&keyboard->keys);
@@ -1350,7 +1350,7 @@
 	return 0;
 }
 
-static void 
+static void
 weston_xkb_info_destroy(struct weston_xkb_info *xkb_info)
 {
 	if (--xkb_info->ref_count > 0)
@@ -1381,7 +1381,7 @@
 	free((char *) ec->xkb_names.layout);
 	free((char *) ec->xkb_names.variant);
 	free((char *) ec->xkb_names.options);
-	
+
 	if (ec->xkb_info)
 		weston_xkb_info_destroy(ec->xkb_info);
 	xkb_context_unref(ec->xkb_context);
@@ -1479,7 +1479,7 @@
 	}
 
 	ec->xkb_info = weston_xkb_info_create(keymap);
-	if (ec->xkb_info == NULL) 
+	if (ec->xkb_info == NULL)
 		return -1;
 
 	return 0;