Coding style fixes

- opening braces are on the same line as the if statement
- opening braces are not on the same line as the function name
- space between for/while/if and opening parenthesis

Signed-off-by: Dawid Gajownik <gajownik@gmail.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
diff --git a/ivi-shell/ivi-layout-transition.c b/ivi-shell/ivi-layout-transition.c
index 89ce38c..d12a8f4 100644
--- a/ivi-shell/ivi-layout-transition.c
+++ b/ivi-shell/ivi-layout-transition.c
@@ -229,7 +229,7 @@
 	struct ivi_layout *layout = get_instance();
 
 	remove_transition(layout, transition);
-	if(transition->destroy_func)
+	if (transition->destroy_func)
 		transition->destroy_func(transition);
 	free(transition);
 }
@@ -663,7 +663,7 @@
 {
 	struct move_layer_data *data = transition->private_data;
 
-	if(data->destroy_func)
+	if (data->destroy_func)
 		data->destroy_func(transition->user_data);
 
 	free(data);