Fix checkpatch warnings such as alignement and extra blank lines:
CHECK: Alignment should match open parenthesis
+ DRM_DEBUG_KMS("surface width(%d), height(%d) and bpp(%d)\n",
+ sizes->surface_width, sizes->surface_height,
CHECK: Blank lines aren't necessary before a close brace '}'
+
+ }
CHECK: Please don't use multiple blank lines
+
+
Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
int ret;
DRM_DEBUG_KMS("surface width(%d), height(%d) and bpp(%d)\n",
- sizes->surface_width, sizes->surface_height,
- sizes->surface_bpp);
+ sizes->surface_width, sizes->surface_height,
+ sizes->surface_bpp);
bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8);
if (ret < 0) {
DRM_ERROR("Failed to add connectors.\n");
goto err_drm_fb_helper_fini;
-
}
drm_helper_disable_unused_functions(drm);
return ERR_PTR(ret);
}
-
/**
* xilinx_drm_fb_hotplug_event - Poll for hotpulug events
* @fb_helper: drm_fb_helper struct, may be NULL