evas-drm: Fix formatting
authorChris Michael <cp.michael@samsung.com>
Thu, 4 Sep 2014 14:08:56 +0000 (10:08 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 4 Sep 2014 15:18:23 +0000 (11:18 -0400)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/drm/evas_engine.c

index f71a14f..891f5a8 100644 (file)
@@ -29,26 +29,25 @@ _output_setup(Evas_Engine_Info_Drm *info, int w, int h)
    /* if we have no drm device, get one */
    if (info->info.fd < 0)
      {
-      if (!ecore_drm_init())
-        return NULL;
-
-      /* try getting the default drm device */
-      if (!(info->info.dev = ecore_drm_device_find(NULL, NULL)))
-        goto on_error;
-
-      /* check if we already opened the drm device with ecore_evas */
-      /* try to open the drm ourselfs (most likely because we get called from expedite) */
-      if (!ecore_drm_device_open(info->info.dev))
-        goto on_error;
-
-      info->info.own_fd = EINA_TRUE;
-      info->info.fd = ecore_drm_device_fd_get(info->info.dev);
-
-      if (info->info.tty < 0)
-        {
-           info->info.own_tty = EINA_TRUE;
-           info->info.tty = ecore_drm_tty_get(info->info.dev);
-       }
+        if (!ecore_drm_init()) return NULL;
+
+        /* try getting the default drm device */
+        if (!(info->info.dev = ecore_drm_device_find(NULL, NULL)))
+          goto on_error;
+
+        /* check if we already opened the drm device with ecore_evas */
+        /* try to open the drm ourselfs (most likely because we get called from expedite) */
+        if (!ecore_drm_device_open(info->info.dev))
+          goto on_error;
+
+        info->info.own_fd = EINA_TRUE;
+        info->info.fd = ecore_drm_device_fd_get(info->info.dev);
+
+        if (info->info.tty < 0)
+          {
+             info->info.own_tty = EINA_TRUE;
+             info->info.tty = ecore_drm_tty_get(info->info.dev);
+          }
      }
 
    /* try to allocate space for our render engine structure */